Skip to content

Commit

Permalink
Do not show "No Search results" message when no search is performed. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinesh Jain authored and david-poindexter committed Oct 25, 2019
1 parent 9c9051c commit 588a005
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,6 @@
var sterm = dnn.searchResult.queryOptions.searchTerm;
var advancedTerm = dnn.searchResult.queryOptions.advancedTerm;
if ((!sterm || $.trim(sterm).length <= 1) && (!advancedTerm || $.trim(advancedTerm).length <= 1)) {
dnn.searchResult.renderResults(null);
return;
}

Expand Down

0 comments on commit 588a005

Please sign in to comment.