Umbraco backend search not working correctly with spaces
Hi,I have an Umbraco 4.11.8 site and I have noticed something strange happening with the Umbraco backend search. As I start typing I can see it picking up nodes that match the search but as soon as I type a space then suddenly no results are show. For example if I was to type "test" then it would find "test doc 1", "test doc 2", "test doc 3" but as soon as I add a space i.e. "test " then no results are shown.It is almost as if the space in the index is different to the space that my spacebar is adding if that makes sense! I have even tried deleting the node name and typing it again, I have also tried copying the text from the "Name" property of the node into the search box but that doesn't work either.I have an Examine add-on for querying the index and this finds the articles fine when I add spaces so it seems that it is just the Umbraco backend search box that is playing up!Does anyone know what could be causing this and what I can do to resolve it?RegardsTony
Umbraco backend search not working correctly with spaces
Hi,I have an Umbraco 4.11.8 site and I have noticed something strange happening with the Umbraco backend search. As I start typing I can see it picking up nodes that match the search but as soon as I type a space then suddenly no results are show. For example if I was to type "test" then it would find "test doc 1", "test doc 2", "test doc 3" but as soon as I add a space i.e. "test " then no results are shown.It is almost as if the space in the index is different to the space that my spacebar is adding if that makes sense! I have even tried deleting the node name and typing it again, I have also tried copying the text from the "Name" property of the node into the search box but that doesn't work either.I have an Examine add-on for querying the index and this finds the articles fine when I add spaces so it seems that it is just the Umbraco backend search box that is playing up!Does anyone know what could be causing this and what I can do to resolve it?RegardsTony
If this is still a bug in the latest version of Umbraco you could create an issue for it here: http://issues.umbraco.org/dashboard#newissue=yes
Jeroen
I have resolved this myself by modifying the QuickSearchHandler.ashx.cs file in the source code, I changed the following line:
to
is working on a reply...