Automattic / Automattic/jetpack
Instant Search: Allow multiple select on Date filter
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
### Impacted plugin
Search
### What
Add a setting for whether or not the date filter should be subtractive for other date filter results
### How
Allowing the Date (Year and Month) filter options to not exclude other dates would be helpful if you've selected your filters and want to see posts from both 2022 and 2023, for example.
This is helpful to narrow down the search without excluding "everything" else regarding dates.
Backend setting:
Frontend result:
Contributor guide
Research direction
Start by tracing the Search plugin's backend date-filter setting and the corresponding frontend result shown in the issue. Confirm how Year and Month filters currently exclude one another, then verify that the setting allows multiple selected dates such as 2022 and 2023 without excluding other date results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php, react
- Domain
- backend, frontend, search
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100