From e310d9e4a4b7bd94e5e743f8dbf3ebdd530ced1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Sun, 2 Sep 2007 14:56:18 +0000 Subject: #6162 by various people: actually point new anchors to the page the first new comment is displayed (in a multipage comment view) --- modules/tracker/tracker.pages.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/tracker/tracker.pages.inc') diff --git a/modules/tracker/tracker.pages.inc b/modules/tracker/tracker.pages.inc index 68877ad1b..6a25d60d5 100644 --- a/modules/tracker/tracker.pages.inc +++ b/modules/tracker/tracker.pages.inc @@ -57,7 +57,7 @@ function tracker_page($uid = 0) { if ($new = comment_num_new($node->nid)) { $comments .= '
'; - $comments .= l(format_plural($new, '1 new', '@count new'), "node/$node->nid", array('fragment' => 'new')); + $comments .= l(format_plural($new, '1 new', '@count new'), "node/$node->nid", array('query' => comment_new_page_count($node->comment_count, $new, $node->nid), 'fragment' => 'new')); } } -- cgit v1.2.3