Skip to content
Permalink
Browse files
ATLAS-4533 : Triggering a third search with basic search filters does…
… not close the filters window

Signed-off-by: Pinal Shah <pinal.shah@freestoneinfotech.com>
  • Loading branch information
farhank31 authored and pinal-shah committed Jan 20, 2022
1 parent 1b0dff8 commit 224f6ade1e438b930432fa1b461332f72dc4ca3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -598,7 +598,7 @@ define(['require', 'utils/Utils', 'modules/Modal', 'utils/Messages', 'utils/Enum
} else {
url[2] = Enums.queryBuilderDateRangeUIValueToAPI[_.trim(value)] || value;
}
} else if (value.length && type === 'date' && formatedDateToLong) {
} else if (value && value.length && type === 'date' && formatedDateToLong) {
url[2] = Date.parse(value);
}
if (type) {
@@ -618,7 +618,7 @@ define(['require', 'utils/Utils', 'modules/Modal', 'utils/Messages', 'utils/Enum
} else {
url[2] = Enums.queryBuilderDateRangeUIValueToAPI[_.trim(value)] || value;
}
} else if (value.length && type === 'date' && formatedDateToLong) {
} else if (value && value.length && type === 'date' && formatedDateToLong) {
url[2] = Date.parse(value);
}
if (type) {

0 comments on commit 224f6ad

Please sign in to comment.