diff --git a/platform/viewer/src/studylist/StudyListRoute.js b/platform/viewer/src/studylist/StudyListRoute.js index 2808937ea..3f541fe0f 100644 --- a/platform/viewer/src/studylist/StudyListRoute.js +++ b/platform/viewer/src/studylist/StudyListRoute.js @@ -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,