Michelle, u r a genius :)
thx
This is a nice little tut to do it a different way using a views attachment as well: http://drupaleasy.com/blogs/ultimike/2009/07/using-views-relationships-argum...
</ryan>
On Wed, Aug 11, 2010 at 11:08 AM, Michelle Ziegmann < michelle@media.berkeley.edu> wrote:
Ryan,
I believe the answer is that you first need to add a relationship to Academic Division, which will make the node title of the division node available for sorting. To do this:
- Add relationship, choose the CCK field for the nodereference to the
Academic Division 2. Add a sort criteria of Node Title, and choose the relationship you just created in the settings for this. 3. Re-order sort criteria so that Node Title with the relationship is first, followed by Node Title with no relationship.
Hope that helps!
Michelle
On 8/10/2010 3:51 PM, Ryan LeTulle wrote:
I have a content type called Academic Program with a node reference field to another content type called Academic Division.
I am working on a view to display the info as such:
Academic Division 1 Academic Program 1 Academic Program 2
Academic Division 2 Academic Program 3 Academic Program 4
Everything is cool except I am having trouble sorting the Academic Division grouping. It sorts the programs fine beneath the divisions. I am using an HTML list style with Academic Division set as the grouping. Academic Program is the node title. If I use it as the sort the order changes but it is not correct. Academic Division is not available in the sort list.
Can this be done from the admin interface?
</ryan>
-- Michelle Ziegmann =========================== Electronic Communications Specialist University of California Berkeley Educational Technology Services
-- [ Drupal support list | http://lists.drupal.org/ ]