Hi, I have the following use case:
I have a set of scientific publications, and I would like to display them in this way:
Conference & Journals:
2009:
article 1
article 2
2008:
article 3
article 4
Workshops:
2009:
article 5
2008:
article 6
That is, I would like to group by "publication type" first, and then have each obtained group, sub-grouped again by "publication year". (If it is of any interest, I am also using the biblio module.)
Is it possible to get this with views? I found no documentation about it.
Your support is greatly appreciated. Thank you.
Alfredo
Comments
Comment #1
merlinofchaos commentedAt this time, Views only groups to one level, I'm afraid.
Comment #3
obrienmd commentedMerlin - Is this a planned feature in Views 3? If not, what sort of development resources / sponsorship would be required to make it happen? I may be able to procure one of both of these resources for this feature.
Comment #4
merlinofchaos commentedIt is not a feature that I have on the roadmap. It is something that could theoretically be done with an external style. And if a good patch were submitted I would definitely consider it, so it may be worthwhile to bring a resource.
The main difficulty is UI. 1 level just requires a select box. Multiple levels requires list management. Add fields/remove fields, control the order. Once you have the list of fields and their order, the actual job of doing the tiered grouping is not actually difficult.
Comment #5
Bilmar commented+1 subscribing. I unfortunately do not have any programming skills but would be available for any testing needed in the future.
Comment #6
alfredo.pironti commentedOK, so I'm converting this to a feature request, just to document it.
Comment #7
merlinofchaos commentedShould remain active. 'needs work' generally indicates there is a patch attached that needs work (and most people never look at 'needs work' issues.
Comment #8
joachim commentedDidn't I comment on an issue just like this about 2 weeks ago? I posted a big theming workaround I used for this.
Comment #9
merlinofchaos commentedjoachim: Possibly! There's so much traffic here I have trouble remembering it all.
Comment #10
joachim commentedI'm not surprised!
It was more directed at the original poster to go look for it...
but here it is: #673982: Group by several fields at the same time
@merlinofchaos: I'll let you decide which one to mark as a duplicate.
Comment #11
merlinofchaos commentedWe'llmark this dup. That has more interesting info.
Comment #12
joachim commentedHm actually, now I take a proper look at the example above, this is about several tiered levels of grouping, whereas the other one is about using several fields to collect in one kind of grouping... that might make these issues different after all, sorry!