SEARCH-438

- Code refactoring
This commit is contained in:
Keerthi Niranjan 2017-11-23 21:50:05 +05:30
parent 89c435c361
commit bb0f3ddf41

View File

@ -308,7 +308,7 @@ class Search {
return;
}
let searchPeriod = new Date().getTime() - SEARCH_PERIOD_SUBTRACTOR;
let searchPeriod = new Date().getTime() - searchConfig.SEARCH_PERIOD_SUBTRACTOR;
let startDateTime = searchPeriod;
if (startDate) {
startDateTime = new Date(parseInt(startDate, 10)).getTime();