Forums Forums Search & Filter Pro Apostrophes in keyword search term

  • This topic has 10 replies, 3 voices, and was last updated 8 years ago by Anonymous.
Viewing 10 posts - 1 through 10 (of 11 total)
  • Anonymous
    #77427

    Hi there,

    I cannot find a solution to my problem in the forums so I’m opening a new topic… so apologies if this has been asked many times before.

    I have my search and filter all working correctly with the PRO plugin however when I search for a title (I am searching film titles) that contains an apostrophe I get no results. For example, searching
    one flew over the cuckoo’s nest
    returns no results but I have verified that this is down to film titles with apostrophes and if I search for the partial film title it returns correctly (eg. one flew over).

    I presume this is down to my character encoding (in the database vs my html document?)… but I don’t know where to start investigating this or whether I can add an action/filter to my functions.php to sanitise the search string in some way?

    Any information on where to find a solution for this would be great.

    Thank you,
    CH

    Trevor
    #77433

    Hi

    Your support and updates license appears to have expired over a year ago? It is possible this issue has been fixed in later versions.

    Anonymous
    #77447

    Hi Trevor,

    Thanks for spotting that.. I hadn’t realised how old my version was. I will purchase and download version 2.0 tomorrow and see if that resolves the issue. Hopefully it will.

    Thanks,
    CH

    Trevor
    #77449

    We are currently at 2.2.0 and 2.3.0 is due out very soon.

    Anonymous
    #77595

    Hi Trevor,

    Thanks for the release info.
    I have now upgraded to 2.2.0 and unfortunately I am still experiencing the same issue.
    I search my site for a film title that contains an apostrophe and it returns no results. Searching any of the titles that contain no apostrophes works fine.

    Any ideas or pointers in the right direction to resolving this would be great.

    Regards,
    CH

    Trevor
    #77718
    This reply has been marked as private.
    Anonymous
    #77774
    This reply has been marked as private.
    Trevor
    #77780

    OK I will raise it with Ross, but I will await details of a copy site.

    Trevor
    #77986

    Hi Ciaran

    I need for you to test something for me. With S&F disabled, does your site still have the standard WordPress search? Or can you restore it so that the WordPress search works? Then try the same searches.

    Ross Moderator
    #86120
Viewing 10 posts - 1 through 10 (of 11 total)