Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
comment data
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2009 at 14:04 UTC
Updated:
24 Feb 2009 at 20:50 UTC
"The link this field to its comment" functionality for comment titles does not work currently. The problem is in line 40 of views/modules/comment/views_handler_field_comment.inc:
$this->options['alter']['path'] = $values->{$this->aliases['nid']};
should be
$this->options['alter']['path'] = 'node/' . $values->{$this->aliases['nid']};
To test enable the "comments_recent" view.
Comments
Comment #1
hectorplus commentedNice fix.
Comment #2
edgarpe commentedI can confirm the problem exists and the fix above works.
Comment #3
akwala commentedsubscribe
Comment #4
bauhaus commentedThank you,
working. ;)
Comment #5
merlinofchaos commentedI committed the patch from http://drupal.org/node/371466 which is essentially the same. (I saw that one first)