Found this in drupal 4.6.2 and appears to still be the case in cvs.
In a forum topic list where it shows "# new" in the replies column this link has a #new anchor but never has a from= parameter.. so if the topic is very long (more comments than will be displayed one one page when viewing the topic from the beginning) then following the link doesn't show the new comments. I've attached a patch which resolves this for gallery.sf.net.. we don't use different sort orders for comments, so I'm not sure if additional code might be needed to account for sort orders.

Comments

mindless’s picture

Version: 4.6.2 » x.y.z
StatusFileSize
new1.71 KB

Patch for current cvs.

mindless’s picture

Status: Active » Needs review

Update status.

mindless’s picture

StatusFileSize
new1.74 KB

Updated patch again for current cvs.

mindless’s picture

StatusFileSize
new1.16 KB

Here is the same patch for tracker.module. Like the patch above, it assumes normal/unchanging sort order. See 6162 for development of what looks like a more complete solution.

drumm’s picture

Status: Needs review » Needs work

Needs to handle the different orders and such.

vph’s picture

The patch of the forum module (in particular the line below) doesn't seem to work for 4.7.2
$page_param = $page_with_new ? ('from='. ($page_with_new * $comments_per_page)) : NULL;

Instead, this works for me:

$page_param = $page_with_new ? ('page='. $page_with_new) : NULL;
artem_sokolov’s picture

I can confirm the correction in the #6 response on 4.7.0

ChrisKennedy’s picture

Version: x.y.z » 6.x-dev
ChrisKennedy’s picture

Status: Needs work » Closed (duplicate)

dupe