mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
85093: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud) 84714: Fixed NPE when spellcheck def is not present in search. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85408 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -587,8 +587,10 @@ public class Search extends BaseScopableProcessorExtension implements Initializi
|
||||
String defaultField = (String)def.get("defaultField");
|
||||
String defaultOperator = (String)def.get("defaultOperator");
|
||||
String searchTerm = (String) def.get("searchTerm");
|
||||
boolean spellCheck = (boolean) def.get("spellCheck");
|
||||
|
||||
Object spellCheckObject = def.get("spellCheck");
|
||||
boolean spellCheck = (spellCheckObject == null) ? false : (boolean) spellCheckObject;
|
||||
|
||||
|
||||
// extract supplied values
|
||||
|
||||
// sorting columns
|
||||
|
Reference in New Issue
Block a user