Upcoming events list displays passed events

Home Forums Calendar Products Events Calendar PRO Upcoming events list displays passed events

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #42912
    Sandro
    Participant

    Hi,
    I’ve a big problem, that I’ve been dragging around but could not fix for a while now.
    Upcoming events list displays events from the previous day.

    For example:
    http://holiday.ge/en/events/category/tbilisi/upcoming/
    SOLAR ECLIPSE / VAKO K @ Festival – Restaurant Divan

    Start:
    March 15, 2013 11:00 pm
    End:
    March 16, 2013 5:00 am

    Right now it is 16th 3:32PM so this event is irrelevant by a long time now and should not be displaying on the list.

    What can I do? How can this be fixed?

    #42932
    Barry
    Member

    Hi Sandro,

    Unfortunately this is a known bug as Jonah covered here – he also advised about a temporary workaround which can be used until 3.0 is released.

    The only other alternatives that comes to mind would be to either customize the widget so that it does not display events that took place earlier in the day or else build a replacement widget that uses a different query.

    #43036
    Sandro
    Participant

    I see, thank you for the reply.
    For the sheer volume of events that we have per day it will be impossible to use proposed solution.

    I will try to build a custom query.

    But when will 3.0 be out? I’ve heard about it 3 month ago already, approx. when are you gonna show it to us? 🙂

    #43045
    Barry
    Member

    Soon 🙂

    We can’t provide a firm date because we want to give it a good beta run in order to iron out the last few wrinkles – but it should be worth the wait.

    #43260
    Sandro
    Participant

    I see.

    So I’ve two options now, get more posts and use end_date to filter out past events with php.
    Or modify query, take get_posts and use it with orderby meta_key value combination.

    But I looked into DB, and it seems second option is less viable. As events calendar doesn’t save end date as a separate value.
    Any ideas how to make second option work?

    #43322
    Barry
    Member

    I’m not quite sure I understand what you’re proposing for your second option, but I think the approach I would take is to filter the event query (testing first to see if the upcoming events list is being viewed) and changing the parameters accordingly.

    However, we don’t have any snippets to offer up on this occasion.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Upcoming events list displays passed events’ is closed to new replies.