Automattic / Automattic/WP-Job-Manager
Job dashboard search–unexpected behavior
- Dominant language
- PHP
- Stars
- 899
- Forks
- 369
- Avg merge
- 11h 37m
- Merged PRs (30d)
- 12
Description
When I use the search function on the user's front-end job dashboard, it filters the jobs as expected, but how do I remove the search filter afterwards? As a user, I clicked on the "x" button in the search bar and I expected to see all the jobs on the job dashboard again, but nothing happened.
This is **unexpected behavior** — can you replicate this, and if so, is there a fix available so that the "x" button works as expected to remove the search filter and show all the jobs on the job dashboard again?
Also, is there a way (setting or code snippet) to limit the job dashboard search to just the title of the jobs, instead of searching through the whole job post (e.g. the description, etc.)?
I believe it also is **unexpected behavior** to do a search, for example, for “Human Resources Manager” and have every job post show up that has the words “manager”, “resources”, and “human” anywhere in the job post.
Contributor guide
Research direction
Reproduce the issue from the user's front-end job dashboard, starting with the search bar's x-button behavior and the current job-search matching. Confirm whether clearing restores all jobs and whether matching searches the full post; done means the filter clears reliably and the supported title-only behavior is documented or implemented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100