Drupal: Views: grouping relationship in block list
Posted
by Ronn
on Stack Overflow
See other posts from Stack Overflow
or by Ronn
Published on 2009-08-03T14:10:51Z
Indexed on
2010/06/18
4:43 UTC
Read the original article
Hit count: 194
drupal
I have a question about views, specifically about grouping a relationship. I have a "partner" node that has many "docs", I want to list the name of the "partner" along with its corresponding "docs" below. I have the relationship set up correctly(I think) but can't figure out how or where to group it correctly.
I get this:
partner name 1
- doc name 1
partner name 1
- doc name 2
partner name 1
- doc name 3
partner name 2
- doc name 4
partner name 2
- doc name 5
partner name 3
- doc name 6
but would like this:
partner name 1
- doc name 1
- doc name 2
- doc name 3
partner name 2
- doc name 4
- doc name 5
- doc name 6
© Stack Overflow or respective owner