The company whose website I'm building host events, and for each of these events, it is only possible to purchase tickets on certain days, but for each event, there can be more than 1 such day.
They want a view which shows:
Event A
- Ticket sale days: day 1, day 2
Event B
- Ticket sale days: day 1
Event C
- Ticket sale days: day 2
And another view which shows:
Ticket sale day 1
- Event A
- Event B
Ticket sale day 2
- Event A
- Event C
I'm currently using a single-column table field for the ticket sale days which allows me to add as many dates as I wish. With this, I can implement the first view above really easily by looping over the rows in the table.
However, the second view has me stumped since I am unable to group the entries by the rows in the table field. Note that I want to keep this data within a single 'events' section.