Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
6.x-2.3
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2009 at 18:46 UTC
Updated:
25 Aug 2017 at 10:16 UTC
Jump to comment: Most recent
Comments
Comment #1
MBroberg commentedThat would be great but so far the answer seems to be "not currently possible."
I did do something with "group by" to get extra fields in the headers.
See comment at
http://drupal.org/node/673982#comment-2504410
By using node references I was able to get more information into the view.
For now I think this is the limit of what is possible.
Comment #2
esmerel commentedNo activity for 6 months, comment 1 appears to have a good suggestion to resolve issue.
Comment #3
MBroberg commentedI don't think my suggestion really resolves the issue. It is just a temporary way to get more than one field in a "group by." What is really needed is multiple "group by" levels, similar to "sort criteria" where a person can select a field to group by and then another field under that, and so on.
For example, in a regular view you can group by only one field such as state:
California
--restaurant, address
--restaurant, address
--restaurant, address
--restaurant, address
Arizona
--restaurant, address
--restaurant, address
--restaurant, address
--restaurant, address
With my suggestion in #1 you can still only group by one field, but put more details into that field
San Diego, California
--restaurant, address
--restaurant, address
Los Angeles, California
--restaurant, address
--restaurant, address
--restaurant, address
What is really needed is more like:
California
-Sandiego
---restaurant, address
---restaurant, address
-Los Angeles
---restaurant, address
---restaurant, address
Arizona
-Phoenix
---restaurant, address
---restaurant, address
As far as I can tell that is still not currently possible and still requested frequently by many Drupal users.
We need multiple "group by" levels.
Comment #4
dawehnerThis issue is closed because there was no activity/no active patch etc. in the last 6 months.
As you see this is a really feature request. Please don't disagree with the maintainer of views
Comment #5
merlinofchaos commentedMulti level grouping is something I would like but have never tackled. Moving to active task.
Comment #6
arx-e commented+subscribing
I have been searching for a few hours for a way to list in a view some hotels grouped by prefecture grouped by region but I have found no way to do it yet.
Any workarounds/suggestions known for the time being?
Comment #7
dawehnerThere is already some work buy really just some work on #477338: Multiple group: group by more than one field
Comment #8
WillHall commentedFaced a similar issue recently - let me know if this helps.
http://mrtheme.com/cms/drupal/drupal-7-building-tree-like-displays-in-vi...
That is a little out of date, in the end this was the solution for me.
Comment #9
arx-e commentedThank you for your replies.
Will, it seems you have a solution but... even if I was using D7 (which I am presently not), it would take me at least 2 days with dull weather and clear mind to get to grips with it... I have never gone so deep with Drupal till now.
Since my level 0 categories are finite and not exceeding a dozen, I think that I will set up this page with multiple predefined views and viewfield.
Comment #10
mustanggb commented