Bugzilla – Bug 17464
Basic search fails with search string containing single quotes
Last modified: 2011-09-02 04:57:38 UTC
Searching for the string "don't" fails to match anything containing the word "don't". Other punctuation appears to work - for example, searching for "don.t" does match.
Ok, should have known :-) In the forum you said it was broken _again_. Did it work in earlier 7.6 revisions?
"Broken again", as in: the most recent of the bugs found in basic search in 7.6.
The search works, but not every time. Here's a way to reproduce the problem: Type in "don't" in the search text box in the Home page, and press enter. It will drive your to the Home > Search window and will display no results. If you press Enter again in the text box containing the word "don't", nothing happens. Type then something else in the text box and press Enter, SBS will display corresponding results. Now, if you type "don't" again in the text box without pressing Enter, it will display corresponding results. If, rather than using the search text box at the main window, you click on the magnifying glass icon, it'll drive you to the Home > Search page. Type "don't" in the search text box there, and you'll get results. I first thought that this bug affected any search string containing a punctuation sign, but it doesn't: a search for "dp.dq", "7=2" or "100%" will succeed, for example (even if search results for "100%" match anything containing "100" in its title, as "don't" will bring me "Don Thompson", but that's another bug).
== Auto-comment from SVN commit #33292 to the slim repo by mherger == == http://svn.slimdevices.com/slim?view=revision&revision=33292 == Bug: 17464 Description: replace single quote in search term with space. It's breaking JS execution, and will be replaced on the server anyway.