search result contains all posts

Forums › Forums › Search & Filter Pro › search result contains all posts

Viewing 10 posts – 1 through 10 (of 11 total)
  • Anonymous
    #34692

    Hi team,

    I am having some hard time getting your plugin to work.

    I use shortcode as display results and when I filter/search anything, any combination, I always get all my posts as a result.
    It’s the same with every result method.

    So for example, I have 6 posts under category called “Age 3-15” but when I select it and click submit, I get all my 56 posts. so it returns all instead of those 6 posts.

    Any idea how to fix it?

    Ross Moderator
    #34694
    This reply has been marked as private.
    Anonymous
    #34695

    unfortunately I have it on my localhost. do you want me to send you anything particular?

    Ross Moderator
    #34708

    Hmmm I just wanted to have a play around to see if there was anything I could see.

    What version of S&F do you have? (I just released an update today – v2.1.1).

    Can you check your JavaScript console for any errors and let me know what they are?

    Thanks

    Anonymous
    #34712

    Ross, it is indeed 2.1.1.

    here is the js error that could cause that:
    https://www.dropbox.com/s/awt2wot64edqf9j/Screenshot%202016-01-19%2016.18.03.png?dl=0

    Anonymous
    #34714

    if this isnt enough, we I could maybe share a screen with you and grant you the access to make changes? teamviewer or something.

    Ross Moderator
    #34736

    Hi Michal

    This error has come up a few times in the past:

    https://support.searchandfilter.com/forums/search/Uncaught+TypeError+searchAndFilter/

    The issue is every time that the jQuery library is being loaded in to the site twice (check your source code) or some other misconfiguration like that.

    So WP includes its standard copy of jQuery, and then some other plugin or custom code is adding it as well – which is actually generally a really bad idea anyway.

    Hope that helps

    Anonymous
    #34741

    you were right with the jquery being loaded twice, however it didnt solve the problem I have.
    (no other js error anymore).

    no matter which selection I make, it always returns the same amount of posts. now 47. it looks like this number is totally random. I would swear that few times I got 2 different results for the same query. like 10 and 20. really strange.

    couldnt it be somehow connected with the fact that styles are not leaded at all?
    https://www.dropbox.com/s/0ulw6fojpry4ben/Screenshot%202016-01-19%2017.35.09.png?dl=0

    thanks.

    Ross Moderator
    #34744

    Hi Michal

    A few questions:

    1) Did you also update the plugin to 2.1.1?

    2) If you go to the admin area, and edit any of your search forms, what is the status of the cache being built?

    3) Can you ensure to disable ajax on your search form? Then, when you submit the form, what happens to the URL? Does it update to include the user selections?

    4) RE the screenshot, I cannot see any issue depending on which fields you are using. Is the range supposed to be a slider?

    Thanks

    Anonymous
    #34820

    Ross, thanks, it started to work when I removed the other jquery and kept the 2nd one. thanks again.

Viewing 10 posts – 1 through 10 (of 11 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.