Closed (fixed)
Project:
Drupal core
Version:
4.7.x-dev
Component:
comment.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2005 at 12:24 UTC
Updated:
17 Jan 2007 at 22:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
moshe weitzman commentedverified on drupal.org. we should not be doing this.
Comment #2
junyor commentedI've been looking into this a bit today. The comment that should have the "new" ID is dependent on the order of the comment page. I think the first new message chronologically should have the "new" ID. We can do a check similar to the one in comment_render to see what order the page is in. If the page is reverse chronological, we'll have to use a counter to find the oldest new comment.
I'll give this some more thought and see if I can come up with a good solution.
Comment #3
Uwe Hermann commentedAny updates on this?
Comment #4
junyor commentedI haven't come up with a better way of doing it, but it's still happening (AFAICT; I tested on drupal.org).
Comment #5
Zen commentedI disagree. It should be the *first* new comment on a page. This way, I just have to keep scrolling down the page to read other new comments and avoid missing other new comments above my current page position.
Moreover, this keeps the patch simple. Please review =)
Thanks,
-K
Comment #6
Zen commentedComment #7
dries commentedI support the last patch. However, maybe we should explore a different solution too; rather than generating a 'new' id, maybe we can just use the actual $comment->cid? Looks like that might be less code and slightly more elegant (we are already querying the number of new comments) ... Not sure it will work but maybe someone could explore that path?
Comment #8
drummLooks good and it is good to see someone working on the default implementation of themeable functions.
However, I think the wording could be a bit better. Maybe $new_id_used or $first_new (with TRUE/FALSE flipped).
Comment #9
Zen commentedPatch updated as per Drumm's comments against 4-7-4.
-K
Comment #10
killes@www.drop.org commentedmoving
Comment #11
ChrisKennedy commented+1
It is terrible usability for the link to new comments to go to the last one. On drupal.org I constantly have to search backwards through pages to find the oldest unread comment. It is completely annoying.
Comment #12
drummCommitted to HEAD.
Comment #13
m3avrck commentedComment #14
m3avrck commentedShould be applied to 4.7 too. Should still apply to 4.7...
Comment #15
killes@www.drop.org commentedapplied
Comment #16
(not verified) commented