Support Forums

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Date range filter with Post meta

Viewing 10 posts - 1 through 10 (of 13 total)
  • Juhász Bence
    #232236

    I’ve just solved it, but I have an other problem, the two meta field have an AND relationship, bit I would like to set it to OR. I have changed the Field relationships to OR, but it does not work. When I search I got nothing found message 🙁 It shows the results only if I set the correct date for all the date fields.

    Please help me,
    Thank you

    Juhász Bence
    #232238

    One more very important thing: If I set the event start date to 2020. jan 1. and the end date 2020. feb 4., and the user in the search field set the 2020. jan 12. start date and 2020. jan 18 end date, she/he has to get the event mentioned above.

    How can I set this?

    Thank you,

    Trevor Moderator
    #232274
    This reply has been marked as private.
    Juhász Bence
    #232278
    This reply has been marked as private.
    Trevor Moderator
    #232283

    Please see this screenshot:

    https://www.screencast.com/t/bo3sHgiou

    Is that what you want?

    Did you try this:

    https://www.screencast.com/t/N5GK8ykkjktx

    Juhász Bence
    #232285

    I haven’t tried it yet, thank you!

    Is this the solution?

    Trevor Moderator
    #232291

    IF I understand you, I think this is what you want.

    Juhász Bence
    #232300

    I’ve just tries it, but still not working. It only shows the results if I set the start date or the end date to the event’s atart date or and date. My event starts at 2020 jan 29 and ends at 2020 feb 5, but when the user search like this: start date: 2020 jan 30, end date: 2020 feb 3, the event does not show up.

    Juhász Bence
    #232302

    What I try to achieve is, that the ongoing events show up in the search result, however it started earlier and will end after the dates that the user set.

Viewing 10 posts - 1 through 10 (of 13 total)

The topic ‘Date range filter with Post meta’ is closed to new replies.