mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-31 19:27:00 -06:00
SEARCH-480
- Added a check for date filter
This commit is contained in:
parent
38e27bba1f
commit
83d16928e0
@ -265,7 +265,10 @@ class Search {
|
||||
|
||||
let ed_time = MAXIMUM_DATE;
|
||||
if (endDate && endDate !== "") {
|
||||
ed_time = new Date(parseInt(endDate, 10)).getTime();
|
||||
let etime = new Date(parseInt(endDate, 10)).getTime();
|
||||
if (etime) {
|
||||
ed_time = etime
|
||||
}
|
||||
}
|
||||
|
||||
if (!_limit && _limit === "" && typeof _limit !== 'number' && Math.round(_limit) !== _limit) {
|
||||
|
Loading…
Reference in New Issue
Block a user