apply start/end dates to qido search

This commit is contained in:
dannyrb authored and James A. Petts committed 2020-05-15 14:02:00 +02:00
1 parent 2b8f527d8c
commit 8f284aafac
3 files changed
+21 -27

No files matched your search

@@ -77,10 +77,12 @@ const StudyListTableRow = props => {
StudyListTableRow.propTypes = {
tableData: PropTypes.shape({
/** A table row represented by an array of "cell" objects */
row: PropTypes.arrayOf(
PropTypes.shape({
key: PropTypes.string.isRequired,
content: PropTypes.node.isRequired,
/** Optional content to render in row's cell */
content: PropTypes.node,
/** Title attribute to use for provided content */
title: PropTypes.string,
gridCol: PropTypes.number.isRequired,
@@ -93,10 +93,8 @@ function _getQueryFilterValues(query) {
const queryFilterValues = {
patientName: query.get('patientName'),
// mrn: query.get('mrn'), patientId?
studyDate: {
startDate: query.get('startDate'),
endDate: query.get('endDate'),
},
startDate: query.get('startDate'),
endDate: query.get('endDate'),
studyDescription: query.get('description'),
//modalitiesInStudy: _tryParseJson(query.get('modality'), undefined),
accessionNumber: query.get('accession'),