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

Tagged: ,

Viewing 10 posts - 1 through 10 (of 14 total)
  • Anonymous
    #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
    #217251

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

    Anonymous
    #217253

    Thank you for answering so quickly

    https://suvilla.wommarketing.es

    Trevor
    #217262
    This reply has been marked as private.
    Anonymous
    #217264
    This reply has been marked as private.
    Trevor
    #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?

    Anonymous
    #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>

    Anonymous
    #217361
    This reply has been marked as private.
    Trevor
    #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
    #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)