Forums Forums Search & Filter Pro Meta filter not working in the display part but correct in the filter select

Viewing 10 posts - 1 through 10 (of 11 total)
  • Anonymous
    #110571

    Hello,

    I am using the plugin to filter cars by the prices I added with an ACF field,
    when I try to filter it, the <select> filter with all the cars models is updating showing only models where there is actually cars between the prices I chose, but the cars displayed are not filtered, there is some outside of the price range I choosed.

    Is there a setting that I am missing ?

    thanks in advance,
    Reügo

    Trevor
    #110595

    Is it possible to see a live URL with this search on, and can you suggest a search for me to do to see this?

    Anonymous
    #110598
    This reply has been marked as private.
    Trevor
    #110610

    I wonder it it is because there is a space in the price? This is not a valid thousands separator.

    Anonymous
    #110624

    I am investigating by my side and I think maybe there is a conflict between two Search form. I am using one with only one field in my home page, and then in the result page, I have another one in the sidebar with more files. I wanted to change the number of result per page of the form n°2 (in the sidebar) but so I changed the settings but that didn’t changed anything, I still had 10 results per page even when I had more vehicules.
    And 10 is the number of result I have in the setting of my first Search form (the one in the homepage).
    So I changed this one to 50, just to try, and it works. So I think there might have a conflict between the two search form.

    And now for the options fields that disapears it seems to be caused by the KILOMETRE select, that doesn’t work and then said to the form that there is no match vehicules.
    This KILOMETRE field is an ACF field, and I noticed that in the Form settings, In the Post Meta settings, when I have to choose the min/max key names to be used for comparison the kilometrage option has an accent and is written like this : “kilométrage”, so I checked the ACF settings for my vehicules, and for this field I have ‘Kilométrage’ as the Title and ‘kilometrage’ without accent as the name of the field.
    Could the problem be the accent ? How can I arrange that ?

    Trevor
    #110626

    That might be the problem. What collection does your SQL database use? In the database, you may need to manually edit it to set it also to without the accent. The is a plugin called ARI Adminer that allows you to search and edit the database.

    Anonymous
    #110628

    I deleted the space in the Thousands Seperator of the UI Options, and I checked my ACF field there is no space over there. But it didn’t change anything.

    Trevor
    #110633

    What data is in this field in the posts themselves?

    Anonymous
    #110667

    In my post for a 11 800€ car the data in the pricefield is 11800.
    But this is working now, I removed the kilometrage filter of the search form and all the filters are working, but when I add it nothing is working anymore.
    I checked in the Database and the meta_key is kilometrage without accent like the acf field name. It is only written with an accent in the search form > Post Meta > Meta Key selector and I can see other fields (that I’m not using in this case) with accent whereas the acf name of these fields have none.

    Trevor
    #110675
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 11 total)