Closed (won't fix)
Project:
Views Field View
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2010 at 10:41 UTC
Updated:
29 Apr 2012 at 19:34 UTC
Hi,
I'm trying to group my result by view field type but it doesn't seem to do that. The field appears on a list of fields by which we can group. If I select that view field it doesn't group, instead it is displayed as normal field next to other view rows.
Any help much appreciated.
Cheers,
Rafal
Comments
Comment #1
dawehnerThis is currently something like a bug in views. The problem is that there is no way to disable the grouping functionality for a certain field.
Comment #2
MBroberg commentedSorry to re-open, and if it cannot be fixed I understand, but it would be very helpful to use the view field as a grouping field.
Is there some hidden data in the view that causes it to have unique values? it seems like if the view is a field, you should be able to group by it just like a regular field and set to exclude from display.
Comment #3
damiankloip commentedWhat sort of things would you want to group by from the child view? As most of it processing etc is pre_render and render stage, I'm not sure this would be possible to affect the parent views query.
Comment #4
cimo75 commentedSame problem here:
i am using an All Terms field which I feed to a Field View as argument, grouping by All Terms works but grouping by Field Views doesn t.
Is there a way around it? Maybe something like rewriting the All Terms field with the Field View, i tried different ideas but none works.
Simone
Comment #5
damiankloip commentedI don't think there is a good way to do this, and I don't think this module is willing to try and support it. Grouping by the result of a view just doesn't make sense.
Comment #6
cimo75 commenteddamiankloip I think I have a perfectly understandable example:
I have a Taxonomy describing towns and bars in any town like so:
*town1
**bar1
**bar2
*town2
**bar1
**bar2
Then I have a content type which is tagged with a "bar" (let s call it an event content type)
i have another content type that is a description of the bar and is also tagged with the town/bar taxonomy. Note that although there is a bar term for each physical bar in town there is not necessarirly a description content type for it.
My view then should be:
*bar1 (all term, hidden)
(description of bar1 as a view field using all term as argument) <- grouped by
*event1
*event2
*bar2 (all term, hidden)
(description of bar2 as a view field using all term as argument) <- grouped by
*event3
*event4