diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-19 20:03:55 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-19 20:03:55 +0000 |
commit | 541ca24c3903f691130f5dd33e879272b31fcd96 (patch) | |
tree | 987a27132cfdd803f05de5eac5802155dc2603b9 /engine/lib/river2.php | |
parent | 849148f0079b5f723c89f332a0eb6b6b3b2e0137 (diff) | |
download | elgg-541ca24c3903f691130f5dd33e879272b31fcd96.tar.gz elgg-541ca24c3903f691130f5dd33e879272b31fcd96.tar.bz2 |
Pagination is now optional on river lists; is removed on the river widget
git-svn-id: https://code.elgg.org/elgg/trunk@2834 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/river2.php')
-rw-r--r-- | engine/lib/river2.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/lib/river2.php b/engine/lib/river2.php index 6932c44e2..b529e6eff 100644 --- a/engine/lib/river2.php +++ b/engine/lib/river2.php @@ -232,7 +232,8 @@ $action_type = '',
$limit = 20,
$posted_min = 0,
- $posted_max = 0) {
+ $posted_max = 0,
+ $pagination = true) {
// Get input from outside world and sanitise it
$offset = (int) get_input('offset',0);
@@ -244,6 +245,7 @@ 'limit' => $limit,
'offset' => $offset,
'items' => $riveritems,
+ 'pagination' => $pagination
));
}
|