Forums Forums Search & Filter Pro Problem with apostrophe and blank space

Viewing 10 posts - 1 through 10 (of 19 total)
  • Trevor
    #44618

    The field name has a blank in it, or a value? I did not think that ACF allowed blanks, in that you can have them in Field Names, but the slug name for the field converts this to an underscore.

    Anonymous
    #45263

    Hi Trevor,
    if you go to this page http://lnx.movie-time.it/new/film/ and for example search this title “36 ORE ALL’INFERNO”, it doesn’t work because of the apostrophe.

    And happend the same if for example you search for a director “Antonio Petrucci ” (as you can see i left a blank space at the end of the name on purpose)

    Thanks for helping

    Michele

    Trevor
    #45264

    Ahhhhhh. Light Bulb. I need to refer this to the developer, Ross.

    Anonymous
    #45265

    Ok thank you, hopefully he will figured out a solution!

    Thanks again

    Michele

    Ross Moderator
    #45436

    Hi Michele

    I’m going to have to look into this further.

    For now, can you leave the ACF name, without space or apostrophe? You can always use a label to use the text you want:

    safename : not 'so' safe name

    Thanks

    Anonymous
    #45461

    Hi Ross,
    for the spaces no problem at the moment, but unfortunately the apostrophe is part of the titles, can’t remove them!

    Michele

    Anonymous
    #47007

    Hi Ross,
    do you have any updates about this issue?

    thankyou very much

    Michele

    Ross Moderator
    #47159

    Hi Michele

    So essentially the issue is that these characters are not being searched properly in the combobox dropdowns?

    And because in ACF, it is a plain text field, these are getting saved in as the values, not only the labels.

    Our comboboxes are powered by this JS library (which is what is giving the problem):
    https://harvesthq.github.io/chosen/

    Due to some other issues I discovered with “chosen”, I also implemented “select2” – https://select2.github.io/

    I’ve just emailed you the dev version, which contains select2 – hopefully this will be a sufficient workaround for your issues.

    To change from chosen to select2 – head to the main “settings” under the “Search & Filter” menu item in the admin area.

    Here you will see an option to change which script to use for comboboxes 🙂

    Let me know how you get on.

    Thanks

    Anonymous
    #49136
    This reply has been marked as private.
    Trevor
    #49138
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 19 total)