Skip to content
Snippets Groups Projects
Commit bf9aa61f authored by juanf's avatar juanf
Browse files

SSDM-5682 : Fix to search parse bug introduced when adding the new pop up to...

SSDM-5682 : Fix to search parse bug introduced when adding the new pop up to give warnings on generic searches

SVN: 38786
parent d9da3cd3
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ function AdvancedSearchController(mainController, forceSearch) {
for(ruleKey in criteria.rules) {
var rule = criteria.rules[ruleKey];
numberOfRules++;
if(!rule.value || rule.value.trim() === "*") {
if(rule.value === null || rule.value === undefined || ("" + rule.value).trim() === "" || ("" + rule.value).trim() === "*") {
numberOfGeneralRules++;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment