Forums › Forums › Search & Filter Pro › Date ranges
Tagged: availability, date range
- This topic has 3 replies, 2 voices, and was last updated 4 years, 8 months ago by Trevor.
-
Anonymous(Private) March 17, 2020 at 1:41 pm #236930
Hello,
Lera Krasnoselska is bulding a search filter for me on my website. She has an issue we would like support for. Here is her explanation:I have post meta unavailable-date date format YYYYMMDD, that save some dates. I need to use the post meta date filter range, so the user inputs from-to dates. And search result excludes posts that have any unavailable-date within the input range.
For example, user inputs such dates: from 22/12/2020 to 24/12/2020. Any posts with unavailable-date equal to 22/12/2020 or 23/12/2020 or 24/12/2020 will be excluded from the search results.
Can I add her email address to be included in the conversation somehow? Her address is:
v.krasnoselska@gmail.comThank you!
Kind regards,
Boris HoekmeijerTrevor(Private) March 17, 2020 at 2:54 pm #236961I am sorry, I cannot add her to the conversation. If she had an account here (you can make one with purchasing, she could then make a dummy post and follow the thread. BUT, she would not be able to read any private posts.
I understand what she wants in the form, to use the date range as an exclusion instead of as an inclusion, but I know of no way to do this. Our form filters act only as inclusions.
Trevor(Private) March 18, 2020 at 7:56 am #237013Hi. This is what she is asking for, but I cannot be sure if she can achieve what she wants:
https://searchandfilter.com/documentation/action-filter-reference/#edit-query-arguments
-
AuthorPosts