Is there a way to group more than one field ?

Example : grouping 2 fields (year and type)

data
  • year 1 | type A | foo1
  • year 1 | type A | foo2
  • year 1 | type A | foo3
  • year 1 | type B | foo11
  • year 1 | type B | foo12
  • year 2 | type A | foo31
  • year 2 | type B | foo41
  • year 2 | type B | foo42
  • year 2 | type C | foo51
display
  • year 1
    • type A
      • foo1
      • foo2
      • foo3
    • type B
      • foo11
      • foo12
  • year 2
    • type A
      • foo31
    • type B
      • foo41
      • foo42
    • type C
      • foo51

Comments

merlinofchaos’s picture

Sorry, at this time Views supports grouping only on a single field.

merlinofchaos’s picture

Component: page displays » Miscellaneous
Category: support » feature
Status: Active » Postponed

Changing status.

rolf van de krol’s picture

Status: Postponed » Closed (won't fix)

This issue can be close because it will most likely be fixed in in Views 3.x.

Please reopen if you disagree on this or are still experiencing problems.

--triage-ddd-nl

dawehner’s picture

Status: Closed (won't fix) » Postponed

Why will this be fixed in 3.x?

merlinofchaos’s picture

It's not currently on the list of 3.x features -- though it is a great feature and would be handy. Our feature list is pretty big, though.

esmerel’s picture

Category: feature » task
esmerel’s picture

Since dereine and merlinofchaos both seem to think this is a good idea, I'm changing this to a task.

iamjon’s picture

Component: Miscellaneous » Code

marked #1013718: Group by Month and Year; Then group that grouping by Semester as a duplicate.

should this still be postponed?

bradallenfisher’s picture

I know at the university level this would be extremely useful.

merlinofchaos’s picture

Status: Postponed » Closed (duplicate)

Views doesn't handle multiple grouping right now. There's already an active task for this.

knalstaaf’s picture

There's already an active task for this.

In which thread can we follow the progression of this task (the thread mentionned above is marked as a duplicatie of this thread, and this thread is also marked as a duplicate... of?)?

In our case we'd need it for a quarter, a trimester or a semester.

knalstaaf’s picture

Version: 6.x-2.0-rc1 » 7.x-3.x-dev
Issue summary: View changes