Download & Extend

"Link this field to its comment" broken

Project:Views
Version:6.x-2.x-dev
Component:comment data
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

"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:

<?php

      $this
->options['alter']['path'] = $values->{$this->aliases['nid']};
?>

should be

<?php
      $this
->options['alter']['path'] = 'node/' . $values->{$this->aliases['nid']};
?>

To test enable the "comments_recent" view.

Comments

#1

Nice fix.

#2

I can confirm the problem exists and the fix above works.

#3

subscribe

#4

Thank you,
working. ;)

#5

Status:active» fixed

I committed the patch from http://drupal.org/node/371466 which is essentially the same. (I saw that one first)

#6

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here