fixes #2249
This commit is contained in:
parent
18a8e059b6
commit
4002401c66
@ -336,12 +336,6 @@ async function getStudyList(
|
||||
} = filters;
|
||||
const sortFieldName = sort.fieldName || 'PatientName';
|
||||
const sortDirection = sort.direction || 'desc';
|
||||
const studyDateFrom =
|
||||
filters.studyDateFrom ||
|
||||
moment()
|
||||
.subtract(25000, 'days')
|
||||
.toDate();
|
||||
const studyDateTo = filters.studyDateTo || new Date();
|
||||
|
||||
const mappedFilters = {
|
||||
PatientID: filters.PatientID,
|
||||
@ -350,8 +344,8 @@ async function getStudyList(
|
||||
StudyDescription: filters.StudyDescription,
|
||||
ModalitiesInStudy: filters.modalities,
|
||||
// NEVER CHANGE
|
||||
studyDateFrom,
|
||||
studyDateTo,
|
||||
studyDateFrom: filters.studyDateFrom,
|
||||
studyDateTo: filters.studyDateTo,
|
||||
limit: rowsPerPage,
|
||||
offset: pageNumber * rowsPerPage,
|
||||
fuzzymatching: server.supportsFuzzyMatching === true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user