mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
. 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:
@@ -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) != '*')
|
||||
|
Reference in New Issue
Block a user