The "x new" links in the watcher binder always point to the first comment page even if the node has comments that span across multiple pages.

The attached patch uses the corresponding comment.module function to calculate the page number of new comments.

CommentFileSizeAuthor
#2 watcher.module.patch541 bytesOV2
watcher.module.patch530 bytesOV2

Comments

solipsist’s picture

Thank you. Much appreciated! Will commit this along with a lot of other fixes as soon as I can.

OV2’s picture

StatusFileSize
new541 bytes

Reroll because of an embarrassing mistake...
It worked, but only due to php's string conversion rules.

solipsist’s picture

Great!

When you diff please do "diff -up" instead of just "diff -u". Thanks.

sanguis’s picture

I just added this patch to my site (6-1.4) and I have not gotten and changes in my output.
Thanx for the patch though. its a starting point