Closed (works as designed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2011 at 00:43 UTC
Updated:
27 Mar 2011 at 15:12 UTC
I have several content types defined with many fields, but the Relationship field list shows only a handful.
I have a content type Course (as in college course) with a field Department that is a node reference to a content type Department.
When I filter for node type Course, should I not be able to establish a relationship with the type Department so that I have access to its fields, like a join? There is no listing in the relationship field list for any field in the Department content type including Content title.
Comments
Comment #1
j. ayen green commentedThe version of -dev I'm using is the new one with the unveiled UI. The result is a stunning advance. Merlin is right...once you get used to it there's no other option.
Comment #2
merlinofchaos commentedCaveat: I haven't yet tried reference.module so I'm guessing.
There should be a relationship in the field for your nodereference. It won't show up as the content type it points to, but as the name of the field.
You should be able to add the relationship whether or not you're filtering for courses (making it possible to create an invalid view).
This depends, of course, on reference.module providing everything necessary to Views. Since I haven't tried it, I don't know if it does yet.
Comment #3
j. ayen green commentedWow...I wasted your time 2x on this! First because it was an issue where views is the consumer, and the supplier hadn't been behaving, and second, because until you said that, I neglected to check, and sure enough I still had CCK installed with nodereference instead of References! Having remedied that, the field does, indeed, appear.
Thanks Merlin...I'm going to donate back to the community the time of yours :)