Forums › Forums › Search & Filter Pro › Meta filter not working in the display part but correct in the filter select
- This topic has 10 replies, 2 voices, and was last updated 8 years, 10 months ago by
Anonymous.
-
Anonymous(Private) May 23, 2017 at 8:49 am #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ügoAnonymous(Private) May 23, 2017 at 10:32 am #110624I 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 ?Anonymous(Private) May 23, 2017 at 12:53 pm #110667In 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. -
AuthorPosts