Automattic / Automattic/WP-Job-Manager

Search: option to show results only if it matches all types

Open
#1,664 0 comments 0 reactions 0 assignees View on GitHub
Enhancement
Dominant language
PHP
Stars
899
Forks
369
Avg merge
11h 37m
Merged PRs (30d)
12

Description

Suggested in 1739460-zen

I'd like search results for job listings with multiple job types to only display if they possess all of the tagged job types. E.G. If a job listing has both HOURLY CONTRACT & FULLY REMOTE job types, when both of these job types are tagged via the front end search, ONLY job listings which possess BOTH job types display in the search results. Currently, the search results pick up all job listings that have either job type tagged. Thank you.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the front-end search handling for multiple job-type filters in the WP-Job-Manager repository. Reproduce the example with HOURLY CONTRACT and FULLY REMOTE selected, then identify the existing search tests or add coverage for the combined filter. Done means results include only listings possessing every selected job type.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
search
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.