(Views 3)
I've been scrounging around google for a few hours, and there seem to be several issues *similar* to but not *identical* to my issue, so I'm posting a new one.
I have set up a content type "Event." Within event, one can have repeating & exception dates for the event. I have set up a view that is meant to sort all events on the site.
In the view, I have the date field to:
Display: Start date only;
Show (all) values;
Repeat Rule: Hide repeat rule;
!Display all values in the same row (unchecked)
It is displaying my sort almost correctly, but there's a quirk. When the first Event that has multiple dates shows up in the view, it then lists all those dates from that event, before going back to the other events that only have single dates. Thus, I get a list sorted in this order:
Giant Bears!!
June 07, 2013
8:00pm to 11:00pm
Stage Presence with Carol Roan
June 11, 2013
6:00pm to 8:00pm
Stage Presence with Carol Roan
June 18, 2013
6:00pm to 8:00pm
Stage Presence with Carol Roan
June 25, 2013
6:00pm to 8:00pm
Stage Presence with Carol Roan
July 09, 2013
6:00pm to 8:00pm
Bob Jones Live
June 14, 2013
8:00pm to 11:00pm
The Fasthorn Followers
June 21, 2013
8:00 pm to 11:00 pm
As you can see, the "Carol Roan" events were all one event with multiple, repeating dates, and when the view sorted them, it went through all of those dates first, before continuing back to the rest of the events. Is there just a setting I'm missing for this to work properly, or is there something more complicated involved?
Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Recurring Event Sort.PNG | 35.79 KB | fgjohnson@lojoh.ca |
Comments
Comment #1
BDaggerhart commentedAny ideas on this anyone? This is kind of important, unless there's just a better way to handle repeating-dates display in a view.
Comment #2
kaidjohnson commentedIt sounds to me like the views sort isn't correct. What fields are you using in your sort? Try sorting by your datefield rather than the post date.
Comment #3
littledynamo commentedRan into this problem too. I was filtering by end date but sorting by start date and this messed up the sorting. To fix, I sorted AND filtered by end date.
One of Drupal's little gotcha's!
Comment #4
fgjohnson@lojoh.ca commentedThis is still an issue for me.
Filtering by
Content: Recurring Event Date - start date (now +1 day)
Sorting by
Content: Recurring Event Date - start date (asc)
The view display "Groups" the events irrespective of the Recurring Date.