Bug fixing: Call search() method in change event of studyDate if studyDate input is not empty to prevent duplicated data. Enter key calls search() method when studyDate is empty
This commit is contained in:
parent
1dc7eb71c0
commit
1497c06a52
@ -180,7 +180,10 @@ Template.worklistResult.events({
|
||||
var dates = dateRange.split("-");
|
||||
studyDateFrom = dates[0];
|
||||
studyDateTo = dates[1];
|
||||
search();
|
||||
|
||||
if (dateRange !== "") {
|
||||
search();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user