aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/river2.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-19 20:03:55 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-19 20:03:55 +0000
commit541ca24c3903f691130f5dd33e879272b31fcd96 (patch)
tree987a27132cfdd803f05de5eac5802155dc2603b9 /engine/lib/river2.php
parent849148f0079b5f723c89f332a0eb6b6b3b2e0137 (diff)
downloadelgg-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.php4
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
));
}