PDA

View Full Version : Using apostrophes in searches yield no results


urbanroute
05-06-2009, 10:26 PM
This was been posted before but for version 2: Check it out here:
phplinkdirectory (dot) com/forum/showthread.php?t=23982&highlight=Apostrophe

I'm having the same issue with version 3.4.0.

Any listings with apostrophes are not found when searching with apostrophes.

IE: Frank's Auto Shop
Search Query: Frank's Auto Shop
= no results found.

I have clean urls on so my url looks like this:
directory/index (dot) php?search=Frank's+Auto+Shop

If I escape the apostrophes it works:
directory/index (dot) php?search=Frank\'s+Auto+Shop

I've looked into the code a little bit but I'm hoping someone else has a quick solution.

Hints for my referrence:
function clean_search_query

David
05-07-2009, 02:00 AM
Hi, this needs to be addressed in the v3 supporters forum. If you have a license, please login to your phpLD account and add your forum username. Then we DEFINITELY want to help you with this in the supporters forum.