Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Search engine does not filter. Always show all entries.

Tagged: ,

Viewing 10 posts - 1 through 10 (of 14 total)
  • Juan Antonio Rubia
    #217248

    Hi, I’m testing your search engine. The fields are created with ACF. The problem is that the search engine always shows all the entries in the results and does not filter. For example, the search engine detects that there are to select 2 or 3 rooms. But dialing two shows the tickets with 2 rooms and 3 rooms.

    “Is ACF Field?” Is enabled in the options of each search field.

    Any suggestions? Thank you.

    Trevor Moderator
    #217251

    Are you able to send me a live link/URL to your search page so I can take a look?

    Juan Antonio Rubia
    #217253

    Thank you for answering so quickly

    https://suvilla.wommarketing.es

    Trevor Moderator
    #217262
    This reply has been marked as private.
    Juan Antonio Rubia
    #217264
    This reply has been marked as private.
    Trevor Moderator
    #217317

    I see this:

    https://www.screencast.com/t/987m3Jwd

    I expected to see this:

    [searchandfilter id="177"]
    [searchandfilter id="177" action="filter_next_query"]
    <script>(function ( $ ) {
      "use strict";
      $(document).on("sf:ajaxfinish", ".searchandfilter", function(){
        console.log("ajax complete");
        var grids = document.getElementsByClassName('et_pb_salvattore_content');
        salvattore['register_grid'](grids[0]);
        salvattore['recreate_columns'](grids[0]);
      });
      
    }(jQuery));</script>

    Is this extra code/lines somewhere else, or must you add them?

    Juan Antonio Rubia
    #217359

    The existing code related to your plugin is in Divi / Integracion and is as follows:

    <script>(function ( $ ) {
    “use strict”;
    $(document).on(“sf:ajaxfinish”, “.searchandfilter”, function(){
    console.log(“ajax complete”);
    var grids = document.getElementsByClassName(‘et_pb_salvattore_content’);
    salvattore[‘register_grid’](grids[0]);
    salvattore[‘recreate_columns’](grids[0]);
    });

    }(jQuery));</script>

    Juan Antonio Rubia
    #217361
    This reply has been marked as private.
    Trevor Moderator
    #217365

    When I select :

    svzona=fuengirola

    It takes me to this page:

    https://suvilla.wommarketing.es/resultados/?_sfm_svzona=fuengirola

    And shows me three posts. How many posts should this show?

    Trevor Moderator
    #217367

    Also, the search form is not on the results page. I think it may need to be.

    The JavaScript you showed me, how is that output on the page? Is it inside a file, if so, which file? It is not output directly inline on the page.

    Please note that we are closed for the weekend and any replies may be delayed until we open at 10AM (UK time) on Monday.

Viewing 10 posts - 1 through 10 (of 14 total)

The topic ‘Search engine does not filter. Always show all entries.’ is closed to new replies.