diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-02 14:56:18 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-02 14:56:18 +0000 |
commit | e310d9e4a4b7bd94e5e743f8dbf3ebdd530ced1e (patch) | |
tree | c709d57e351db0183ecaca760a4b4aeb4b71c751 /modules/tracker | |
parent | 1b658ae850c10bc55adfce4db46d25e3ff88da05 (diff) | |
download | brdo-e310d9e4a4b7bd94e5e743f8dbf3ebdd530ced1e.tar.gz brdo-e310d9e4a4b7bd94e5e743f8dbf3ebdd530ced1e.tar.bz2 |
#6162 by various people: actually point new anchors to the page the first new comment is displayed (in a multipage comment view)
Diffstat (limited to 'modules/tracker')
-rw-r--r-- | modules/tracker/tracker.pages.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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 .= '<br />'; - $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')); } } |