Home › Forums › Calendar Products › Events Calendar PRO › Month view: previous / next navigation loses category filter
- This topic has 10 replies, 5 voices, and was last updated 8 years, 8 months ago by Barry.
-
AuthorPosts
-
July 14, 2015 at 11:28 am #986366Peter PoulidesParticipant
Hello,
When I access this URL I see a filtered month view: http://dallascenterforphotography.com/classes/category/spot-class/. However if I use the month navigation, the resulting month view is no longer filtered. Because of the customization I’ve done, you’ll only see blank space with a line beneath it for the events that shouldn’t show up, but if you hover over the blank space you’ll see there is an event there.
I tried an alternative approach using tribe_exclude_events_category found here (https://theeventscalendar.com/knowledgebase/hide-category-from-calendar-views/). The results are the same.
http://dallascenterforphotography.com/classes/The issue does seem to be AJAX related. For example, if I directly access the August page via URL, the result is as expected. However if I arrive on the August calendar via the “Next month” navigation which uses AJAX, the category filter doesn’t work.
This is a similar issue to the one described here: https://theeventscalendar.com/support/forums/topic/categories-pages-resetting-while-advancing-month/#post-985947
July 14, 2015 at 8:24 pm #986491BarryMemberHi @spotstudio,
There does seem to be a valid bug here: if I view a specific category in month view the initial result set is correctly limited to events from that category.
If I page forward a month then return to the original month, however, you are correct and the category filtering seems to “drop”. I’ve logged a bug report for that and we’ll progress it as quickly as we can: what worries me is that I don’t see exactly the same problem on your site.
In my case, the result set widens and I see all events – not just those in the appointed category – but when I replicate on your site I see less/no events. Might that be the result of the customization you are referring to?
July 16, 2015 at 9:04 am #987042Peter PoulidesParticipantThanks, Barry!
Yes, you can’t see the events because of the customization I’ve done. They are there, however. If you view the source, you’ll see the container div for a bunch of events that aren’t actually displayed. I am using a custom post type of my own for most event data and only using The Events Calendar for time/date/ticketing info. Since these events that aren’t of the “spot-class” type aren’t supposed to be here, the code isn’t pulling in the custom data for them.
So I think it is the same issue – it just appears different because of my customizations.
July 16, 2015 at 9:24 am #987053KarlParticipantI’m having the same problem as you had Barry. Is this being worked on?
July 16, 2015 at 1:07 pm #987132BarryMemberIt certainly is, Karl – and I’ve linked the bug report (on our internal system) to this forum topic so that as soon as a fix is released we can post an update – apologies for the inconvenience in the interim.
July 16, 2015 at 4:05 pm #987236KarlParticipantOk thank you. It doesn’t seem to have anything to do with the option “use javascript to control date filtering” as I’ve tried it both on and off…
July 17, 2015 at 7:29 am #987363BarryMemberNope – it’s not directly connected to that setting – and ajax navigation still occurs by default when paging between months even if that is disabled.
July 20, 2015 at 1:27 pm #988108LeahMemberHi there,
We wanted to check in here and update you on our progress. Although we weren’t able to address your issue in our upcoming release (3.11) we do still have it on our radar. Thank you for your patience while we continue working on a fix for the problem you reported. We will do our best to keep you posted when we have a solution in place. In the meantime, if you need help or find that the issue you reported here is no longer a problem, please feel free to start another thread.
Thanks again for your patience and understanding!
Cheers,
Leah
and the rest of The Events Calendar teamJuly 27, 2015 at 3:30 pm #990760GeoffMemberHey @spotstudio! Just wanted to deliver the good news that The Events Calendar and The Events Calendar PRO 3.11.1 shipped today and a fix for this issue was included in the release. Please feel free to update and thanks so much for your patience here while we figured this one out. We really appreciate you bringing this to our attention so we could fix it. 🙂
Cheers,
GeoffJuly 28, 2015 at 3:34 am #990905KarlParticipantHi,
I’m happy to report that this is now working for me. Unfortunately there is a similar problem in the list view- when I click the next month it just reloads the same page, it doesn’t show the next dates. It works correctly on the map view but not on the list view. Should I make a separate bug report for this?
Best,
KarlJuly 28, 2015 at 5:59 am #990928BarryMemberPlease do, Karl – and one of the team will be only too happy to dig in and help 🙂
-
AuthorPosts
- The topic ‘Month view: previous / next navigation loses category filter’ is closed to new replies.