Automattic / Automattic/jetpack

Instant Search: Allow multiple select on Date filter

Open
#40,952 1 comment 1 reaction 0 assignees View on GitHub
[Experiment] AI labels added [Feature Group] Content Management [Feature] Search [Plugin] Jetpack [Plugin] Search [Pri] Low Enhancement
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:
Image

Frontend result:
Image

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.