• Resolved systemtopic

    (@systemtopic)


    Hello everyone,

    I have a problem when I search for a job in my job list in admin.

    When I do a search, for example with a keyword for a job title, it even searches in the content and finds jobs that have the keyword in the job description and not in the title.

    The main problem is that when I do a keyword search, I get, for example, 52 results and only 6 jobs are displayed on 3 pages

    Is there a problem displaying job offers in the admin section?

    Thank you very much for your help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi there, @systemtopic,

    It seems like you have two different issues:

    1. You’d like to have better search options in the wp-admin to refine the search results when searching for keywords in the job title
    2. The search results display oddly (6 results spread on three pages)

    For the first issue, I think that’s how the backend search feature works by default. We might want to explore another plugins – if there are any – that can improve the core backend’s search engine.

    As for the second issue, I suspect there mihght be something off conflicting with it. Can you share a screenshot if what you see on your end? You can create screenshots using something like Snipboard or Imgur and post the link here.

    Thanks!

    Thread Starter systemtopic

    (@systemtopic)

    Hi !

    First of all, thank you very much for your feedback.

    Yes, I do have two different problems.

    For the first problem, that’s what I thought, I’ll see if I can find a solution, otherwise it’s not very serious, it’s mainly the second problem that’s very problematic.

    I agree with you, but I don’t see where the conflict comes from. I don’t have any other similar plugins (for job offers) or plugins that have anything to do with searching in wp admin.

    Here’s a screenshot, I hope it helps you see the problem better 🙂

    https://imgur.com/a/MBfHtWL

    Thanks!

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi there, @systemtopic,

    For the first problem, that’s what I thought, I’ll see if I can find a solution, otherwise it’s not very serious, it’s mainly the second problem that’s very problematic.

    As I briefly mentioned in my previous reply, there is not much we can do about that. My suggestion is to browse around to see if there’s another plugin that can improve the WordPress core search engine.

    I agree with you, but I don’t see where the conflict comes from. I don’t have any other similar plugins (for job offers) or plugins that have anything to do with searching in wp admin.

    I see the results on the screenshot you shared, but only one page is displayed – the top left area you highlighted with a red square shows the number of entries that could be displayed on one page if there were enough of them. In that case, the page would show 100 results. If there were more than 150, you would go to page 2 to see the last 50 results.

    Does it make sense to you, or am I missing something here?

    Are you 100% sure that there should be 52 results for the consultant search instead of the ones displayed if that was the same example as your initial question?

    Thread Starter systemtopic

    (@systemtopic)

    Hi there,

    Thank you for your reply, it’s quite logical, but I’ve captured this because I have more than 78 results when I do a (ctrl+f) and when I do the same search in the search bar it gives me 6 answers whereas I have even more than 50 results (see screenshot). So I’m 100% sure there should be at least 52 results. There’s definitely a problem with this search bar…

    https://imgur.com/yRMTh6v

    If you have a solution to my problem, I’d be very grateful.

    Thank you very much.

    Having looked at the image above, your are using your browser search function.

    Not the WPJM search option .

    I think that is what is causing the issue.

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi @systemtopic,

    That’s what @enism007 said! That is the browser search bar, which search only on the current page 🙂

    Thread Starter systemtopic

    (@systemtopic)

    Thanks for your feedback but this was an example to show you that there are far more results than 6!!!! Take a look at the first screenshot…

    I’m actually searching with the plugin’s search bar, which isn’t working properly!

    Thanks in advance for your help

    Plugin Author Mikey (a11n)

    (@mikeyarce)

    Hi @systemtopic,

    If it says “53” results but only shows 6, I wonder if maybe there’s aproblem with the query? You could install a plugin like Query Monitor (https://en-ca.wordpress.org/plugins/query-monitor/) and use it to view what query is being done on the site.

    Here’s what it should look like for a search of “test”:

    SELECT posts.ID
    FROM wp_posts posts
    WHERE ( posts.ID IN (
    SELECT post_id
    FROM wp_postmeta
    WHERE meta_value LIKE '%test%' )
    OR posts.post_title LIKE '%test%'
    OR posts.post_content LIKE '%test%' )
    AND posts.post_type = 'job_listing'

    If it looks different then that, there might be another plugin or something in your theme that’s altering the query? I always suggest disabling all other plugins and switching to a default theme to see if the search still only shows limited results.

    Hope that helps!

    Thread Starter systemtopic

    (@systemtopic)

    Hello Mikey,

    Thank you very much for your reply.

    I checked the search query thanks to your plugin and indeed, I have exactly the same query as your “test” query.

    I’ve also deactivated all the plugins on my site one by one except WP Job Manager and even with this one plugin I also have this problem…

    So when I changed theme, the problem disappeared. There must be a function in my theme that blocks this search… Do you have any idea of a function that could block this?

    Thanks for your help.

    Thread Starter systemtopic

    (@systemtopic)

    Thank you very much for your help, it came from a function in my theme. Sorry for the inconvenience. Problem solved.

    Plugin Support Jay

    (@bluejay77)

    Thanks for letting us know, @systemtopic!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘problem looking for job offers in admin’ is closed to new replies.