Forums › Forums › Search & Filter Pro › Some search fields are showing values instead of labels
- This topic has 5 replies, 2 voices, and was last updated 3 years, 11 months ago by Trevor.
-
Anonymous(Private) November 20, 2020 at 11:33 pm #267424
Hello,
I seem to be having an issue exactly like the one described in the following page:
https://support.searchandfilter.com/forums/topic/filters-are-showing-values-instead-of-labels/I also looked in the link inside of that, but most answers are marked as private so I can’t really figure out what’s wrong.
I had several ACF fields that were only using labels as choices. It was decided that the choices are changed to the ‘proper’ format, aka ‘value : label’. After this change I did all the changes through the database using SQL updates. I rebuild the index, and the new filters are showing up, however, the filter sidebar shows values instead of labels for some fields – however, for other fields, the values are showing as expected. In all these fields the same SQL updates were used, so I can’t really figure out what’s wrong. I’ve rebuilt the index several times, with no different outcome.
Please help!
Anonymous(Private) November 24, 2020 at 10:43 am #267574Hello Trevor,
unfortunately I cannot share with you admin credentials, since the site includes sensitive data. I am going to make a few changes later on today and get back to you with a link to the site if it doesn’t fix anything. Looks like re-creating the ACF fields saved some parts of the app.
Thanks for the continuous support!
Anonymous(Private) November 25, 2020 at 12:28 am #267714Ok, so, I seem to have found what the problem was.
When I had initially created my ACF checkboxes, I only used labels, so I had to leave the
is ACF field?
unchecked inside my s&f form for the filters to be created properly.Now that I switched to the
key:value
format, I must check the ACF checkbox.I think it would be a good idea to document this – maybe even add some information on the
is ACF field?
tooltip to help people out.Thanks for being around though!
-
AuthorPosts