Closed (duplicate)
Project:
Content Construction Kit (CCK)
Version:
5.x-1.6-1
Component:
Views Integration
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 May 2007 at 19:11 UTC
Updated:
11 May 2010 at 01:34 UTC
Jump to comment: Most recent
Comments
Comment #1
wylbur commentedYeah, I could really use this right now. I created a wonderful Node type, and then made a node reference, all to see that I can't sort or group my views by this content.
Comment #2
Anonymous (not verified) commentedSame problem, please add.
Comment #3
lucidus_neil commentedDitto for me. I REALLY like the node reference capability but it loses some luster because we can't sort on it.
Comment #4
xxvelcrar commentedThis appears to be the same issue as http://drupal.org/node/70380
Comment #5
knieveltech commentedIt isn't pretty but there's a workaround:
- create an additional calculated field
- in the Computed Code field, assign the "value" (nid) of the offending node reference field as so:
$node_field[0]['value'] = $node->field_name[0]['nid'];
You can now sort by the value contained in your calculated field.
Comment #6
rukaya commentedI still can't sort by node reference field in Drupal 6 with views 2. I have no idea why, does anybody else?
Comment #7
darrellduane commentedSee http://drupal.org/node/274909 for a solution using Relationships.