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