Permalink
Browse files

feature(comments): Paging through comments/discussion replies jumps t…

…o content

Comment and discussion reply listings now include URL fragments that push
the user directly to the next set of comments/replies on the new page.

Refs #5041
  • Loading branch information...
mrclay committed Apr 20, 2015
1 parent f90466c commit b75fd8f84dff20354da4c65de2ba0b9df0ac370f
Showing with 2 additions and 0 deletions.
  1. +1 −0 mod/groups/views/default/discussion/replies.php
  2. +1 −0 views/default/page/elements/comments.php
@@ -16,6 +16,7 @@
'container_guid' => $vars['topic']->getGUID(),
'reverse_order_by' => true,
'distinct' => false,
'url_fragment' => 'group-replies',
));
echo $replies;
@@ -37,6 +37,7 @@
'limit' => $limit,
'preload_owners' => true,
'distinct' => false,
'url_fragment' => $attr['id'],
));
if ($show_add_form) {

0 comments on commit b75fd8f

Please sign in to comment.