diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-09 02:31:40 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-09 02:31:40 +0000 |
commit | 3a25d30512da0f165c93f9ed96995c3c42eb7f3b (patch) | |
tree | 88d27302c94bf9d059e5979d27f32a3b9e55307e /views/default/layout/objects/list.php | |
parent | c698b658f177b89c25dfc5bb1313c9b3c4ecfaf3 (diff) | |
download | elgg-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.php | 2 |
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, )); } |