. Saved Searches UI improvements as suggested by Linton

. Fix to quoted term search to allow quoted string of a single word only e.g. "baboon" (not very useful, but should at least work…!)
. Checkpoint of the Templating language enhancements ready for the addition of saved search support

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2124 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-01-17 11:57:32 +00:00
parent 97b2aaac93
commit e7ce03d4cf
14 changed files with 644 additions and 190 deletions

View File

@@ -138,7 +138,7 @@ public final class SearchContext implements Serializable
if (text.length() != 0 && text.length() >= minimum)
{
if (text.indexOf(' ') == -1)
if (text.indexOf(' ') == -1 && text.charAt(0) != '"')
{
// simple single word text search
if (text.charAt(0) != '*')