-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search returning zero results, blog results or case sensitive results. #1501
Comments
If I leave the page open, I subsequently get a POST error message in the Console that looks like: jquery.js?ver=1.12.4:4 POST https://www.DOMAIN.co.uk/wp-admin/admin-ajax.php 0 () Not sure if this helps? |
Hi! GitHub Issues is for reporting core WPJM bugs and feature requests. For support and feature requests for our extensions, please visit https://wpjobmanager.com/support. For support for the core plugin, post in the forum: https://wordpress.org/support/plugin/wp-job-manager/ As a first step to troubleshooting this, though, I'd suggest switching to a default theme like Twenty Seventeen, to see if your theme is getting in the way. |
Thanks. But I've switched to a default theme Twenty Seventeen, deactivated all plugins apart from WP Job Manager and I'm still seeing the weird search behaviour - which is why I thought it was a bug that needed reporting. Please see: https://www.rpmtech.co.uk/jobs/ - and try searching for "Recruitment" vs "recruitment". |
@cestrian77 We consider a bug to usually be something wrong with the code; until we've determined that this is the case, let's take this to the forum or our support form (if you have a paid add-on), shall we? Thanks! |
Panic over! I've identified that we had some custom script in our child theme's functions.php aimed at narrowing search to posts only (ie excluding pages). This used to work, but I guess a recent update has now led to it conflicting. Removing the code instantly fixes the issue. |
Thanks for letting me know! For future cross-referencing, you opened this thread: https://wordpress.org/support/topic/wp-job-manager-search-not-working-properly/ |
Steps to Reproduce
What I Expected
Job results matching the keyword search
What Happened Instead
I'm getting mixed results, depending on the site/installation I try this with. On some sites I'm getting zero results. On others, I'm getting blog results returned. On some I'm seeing the search only working with case sensitive queries.
WordPress / WP Job Manager Version
4.9.6
Browser / OS Version
Windows 10 Pro / Google Chrome 66.0.3359.181
Screenshot / Video
This is what I see if I search for "science" - all lowercase.
Then if I search for "Science" with a capital 'S'... I get results returned.
Context / Source
The text was updated successfully, but these errors were encountered: