diff options
Diffstat (limited to 'mod/pages')
-rw-r--r-- | mod/pages/views/default/pages/sidebar/history.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mod/pages/views/default/pages/sidebar/history.php b/mod/pages/views/default/pages/sidebar/history.php index dad06ab4f..beff41e03 100644 --- a/mod/pages/views/default/pages/sidebar/history.php +++ b/mod/pages/views/default/pages/sidebar/history.php @@ -8,7 +8,13 @@ $title = elgg_echo('pages:history'); if ($vars['page']) { - $content = $content = list_annotations($vars['page']->guid, 'page', 20, false); + $options = array( + 'guid' => $vars['page']->guid, + 'annotation_name' => 'page', + 'limit' => 20, + 'reverse_order_by' => true + ); + $content = elgg_list_annotaitons($options); } echo elgg_view_module('aside', $title, $content);
\ No newline at end of file |