[drupal-devel] [bug] Old comments are displayed as new

Goba drupal-devel at drupal.org
Thu Mar 10 14:45:57 UTC 2005


Issue status update for http://drupal.org/node/18692

 Project:      Drupal
 Version:      cvs
 Component:    comment.module
 Category:     bug reports
 Priority:     critical
 Assigned to:  Goba
 Reported by:  Goba
 Updated by:   Goba
 Status:       patch
 Attachment:   http://drupal.org/files/issues/Drupal-fix-new-comment-counts.patch (751 bytes)

Old comments (comments for nodes having no entry in the history table
anymore) are counted as new comments, since the timestamp retrieved
from the history table is used to check for new comments (which is 0,
if an entry was not found). This patch sets the timestamp used to check
for new comments to the NODE_NEW_LIMIT value at least (which is when the
history table was/should have been pruned).


Goba




More information about the drupal-devel mailing list