Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to have an inclusive date range filter #1601

Closed
umaknow-lp opened this issue Dec 6, 2021 · 2 comments
Closed

Add an option to have an inclusive date range filter #1601

umaknow-lp opened this issue Dec 6, 2021 · 2 comments
Labels
bug Something isn't working Needs: Triage Needs investigation and repro v4 version 4

Comments

@umaknow-lp
Copy link

Is your feature request related to a problem? Please describe.
When having a Date Range filter, the refiner will return "<=" for the "from" portion of the Date Range, but will only return ">" for the "To" portion of the date range, which cause problems if you want the results to have the dates set in the Date Range to appear in the Search Results.

Describe the solution you'd like
Give an option for the Date Range filter in the filer panel option so the refiner can return "<=" instead of forcing "<" (maybe give the same option for the "From" portion too).

Additional context
Picture to better show the problem
image

@wobba wobba added bug Something isn't working Needs: Triage Needs investigation and repro v4 version 4 labels Dec 7, 2021
@wobba
Copy link
Collaborator

wobba commented Dec 7, 2021

This is more of a bug report than a feature request. I think we should just change to have => and <= for both dates.

wobba added a commit that referenced this issue May 27, 2023
#1601 Made date range include start and end date
@wobba
Copy link
Collaborator

wobba commented May 27, 2023

Fixed in the next release. Made the filter include both start and end dates.

@wobba wobba closed this as completed May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Needs: Triage Needs investigation and repro v4 version 4
Projects
None yet
Development

No branches or pull requests

2 participants