aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/objects/list.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-09 02:31:40 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-09 02:31:40 +0000
commit3a25d30512da0f165c93f9ed96995c3c42eb7f3b (patch)
tree88d27302c94bf9d059e5979d27f32a3b9e55307e /views/default/layout/objects/list.php
parentc698b658f177b89c25dfc5bb1313c9b3c4ecfaf3 (diff)
downloadelgg-3a25d30512da0f165c93f9ed96995c3c42eb7f3b.tar.gz
elgg-3a25d30512da0f165c93f9ed96995c3c42eb7f3b.tar.bz2
fixed pagination for annotations due to changes in views
git-svn-id: http://code.elgg.org/elgg/trunk@7576 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout/objects/list.php')
-rw-r--r--views/default/layout/objects/list.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/default/layout/objects/list.php b/views/default/layout/objects/list.php
index b65e79102..2c3a8206e 100644
--- a/views/default/layout/objects/list.php
+++ b/views/default/layout/objects/list.php
@@ -22,6 +22,7 @@ $count = $vars['count'];
$base_url = $vars['base_url'];
$pagination = elgg_get_array_value('pagination', $vars, true);
$full_view = elgg_get_array_value('full_view', $vars, false);
+$offset_key = elgg_get_array_value('offset_key', $vars, 'offset');
$list_class = 'elgg-list';
if (isset($vars['list_class'])) {
@@ -42,6 +43,7 @@ if ($pagination) {
'offset' => $offset,
'count' => $count,
'limit' => $limit,
+ 'offset_key' => $offset_key,
));
}