Skip Navigation

[Resolved] Custom search filter inserts unwanted backslash before apostrophe

This support ticket is created 7 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 7 replies, has 2 voices.

Last updated by Sebastien 6 years, 8 months ago.

Assisted by: Beda.

Author
Posts
#588654
Toolset-customsearch.png

Link to a page where the issue can be seen:
hidden link

A simple directory with a unique select filter displaying a list of business sectors.

In the select menu, the item - Métier d'Art - is displayed - Métier d\'Art -

Though, there's no slash in the post field group edit page.
Both the Title and the Value to store are set to be - Métier d'Art -

Could you please help me to fix this ?

I'll provide site access later if really needed.

Thanks in advance
Sébastien

#588753

This issue is known and there is no solution but to not use an apostrophe or insert manual values and labels when you create the Custom Search.

I pushed the Developers again to solve this (cosmetic) issue.
Cosmetic because the actual Query will not break, as long you do not also have Apostrophes in the values of the fields.

Let me get back to you when I have more details on the progress.

#588759

Ok, thank you Beda.

Have a good weekend.

#604728

This is resolved on the stable Toolset releases.

#604748

That's strange cause it doesn't seem to work in my case.
The whole website is perfectly up to date, Toolset extensions : Types 2.2.21 & Views 2.5.2.

I cleared the cache in my browsers, purged and even deactivated WP-rocket, but the backslash keeps on appearing in the menu (cf. url the initial post)

#604755

You are right.

The issue is solved only in the "Query Filter" Section, the rest has been left as is.

I re-escalated it.

#656323

This will not be fixed in the upcoming release.
It is scheduled for later.

#677704

It's a minor issue, so let's close the topic. Thank you anyway.