Automattic / Automattic/WP-Job-Manager

Locations search

Open
#2,097 1 comment 0 reactions 0 assignees View on GitHub
[Type] Proposal [Type] Question
Dominant language
PHP
Stars
899
Forks
369
Avg merge
11h 37m
Merged PRs (30d)
12

Description

On the Location search when a person searches for a city and state, it has to match exactly like it's written example: "alton, il", if someone searches for "alton li" it doesn't display. The solutions would be to automatically remove the comma(,).
https://www.gypsumexpress.jobs/job-openings/
When searched. https://www.gypsumexpress.jobs/job-openings/

**Describe the bug**
A clear and concise description of what the bug is. Please be as descriptive as possible; issues lacking detail, or for any other reason than to report a bug, may be closed without action.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Isolating the problem (mark completed items with an [x]):**
- [ ] I have deactivated other plugins and confirmed this bug occurs when only WP Job Manager plugin is active.
- [ ] This bug happens with a default WordPress theme active.
- [ ] I can reproduce this bug consistently using the steps above.

**WordPress Environment**
- WordPress Version:
- WP Job Manager Version:
- PHP Version:
- Other important details:

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue on the linked job-openings page by searching for a city and state with and without the comma. Then locate the location-search entry point in WP Job Manager and verify that searches such as “alton il” return the same results as “alton, il”; the issue is done when both forms match consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.