Closed (duplicate)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2010 at 20:30 UTC
Updated:
27 Jun 2010 at 16:07 UTC
As discussed with deriene on IRC
1) Create a view with views_handler_field_ncs_last_comment_name (Last comment author)
2) Make style: Table, and Last comment author sortable.
3) Preview view -- works ok.
4) Click on "Last comment author" label -- views tries to add a non existing column.
10x deriene for your help!
Comments
Comment #1
tic2000 commentedI had the same problem. With the help of merlinofchaos I figured it out.
If you want your field to use click_sort you need to also add this in your field handler too
Note that if you don't do this it will brake your view sort handler too if you have one or if you use the default one.
Comment #2
merlinofchaos commentedI posted a duplicate of this a few days ago. http://drupal.org/node/833790 -- that one has a patch, so marking this dup.