Skip to content

Commit

Permalink
MID-8141 small update to previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Oct 4, 2022
1 parent 7363149 commit f2613f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public Search<C> load() {
Search<C> search = null;
PageStorage storage = getPageStorage();
String searchByName = getSearchByNameParameterValue();
if (storage != null && storage.getSearch() != null && storage.getSearch().searchByNameEquals(searchByName)) { // do NOT use storage when using name search (e.g. from dashboard)
if (storage != null && storage.getSearch() != null && (searchByName == null || storage.getSearch().searchByNameEquals(searchByName))) { // do NOT use storage when using name search (e.g. from dashboard)
search = storage.getSearch();
}

Expand Down

0 comments on commit f2613f3

Please sign in to comment.