recent comments links in block break when the whole numbers of comments more than the number of comment_per_page setting.

for example, if i have 70 comments to 1 node and the default comment_per_page is 50, when I hit the latest 20 comments link in block I got nothing but stay in page 1 instead of linking to page 2 the correct anchor position.

the url of comments in page 2 should be something like "node/265?from=50&comments_per_page=50#comment-786".

isis

CommentFileSizeAuthor
#1 comment_block.txt1.86 KByossarian

Comments

yossarian’s picture

StatusFileSize
new1.86 KB

here's a replecement for the recent comments block that actually works most of the time.

You might want to test it.

yossarian’s picture

er, and replace the text 'forum topics' with "Recent Comments'.

isis-1’s picture

it works. thanks.

robin monks’s picture

This bug is a DUPLICATE of http://drupal.org/node/6162 .

Robin