When you click the gear next to Row style to select Inline fields for an HTML List style, the displayed fields don't show their relationships. For example, this is what I see:
- Node: Title
- Node: Title
- User: Name
- Node: Title
I have to cross-reference with the list of fields above to figure out which is which. Here's what's in my Fields list:
- (Status) Node: Title
- Node: Title
- (Owner) User: Name
- (Project) Node: Title
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | views-651274_1.patch | 3.58 KB | dawehner |
| #7 | views-651274.patch | 4.44 KB | dagmar |
| #4 | views-651274.patch | 2.98 KB | dagmar |
| #3 | example.png | 98.86 KB | aren cambre |
| #2 | views-651274.patch | 1.59 KB | dagmar |
Comments
Comment #1
aren cambre commentedIt also doesn't show the field label, which can also help distinguish fields.
Comment #2
dagmarNice catch.
Mmm. I cannot replicate this. I have changed a label for a field and works fine.
Here is a patch to display relationships in the grouping select box.
Comment #3
aren cambre commentedSee the attached example to substantiate #1.
Comment #4
dagmarOh, I was looking in for in the wrong place. Thanks.
Here is the new patch.
Comment #5
dawehnerShouldn't this be used also in table style?
Comment #6
dagmarYes, lets make this more general. Maybe a new function called get_field_labels, or something like this.
Comment #7
dagmarHere is it.
Comment #8
merlinofchaos commented1) There are spelling errors in the comments for get_field_labels()
2) Can someone test this for me? This one should be easy to test and RTBC after fixing the typos.
Comment #9
dawehner2) i tested it, added 1 relationship and added some fields with this relationship:
So this worked fine.
Comment #10
dawehnerHere is an updated patch
Comment #11
merlinofchaos commentedCommitted to all branches.