fix(studylist) Fix duplicate studies in studylist, add min width for study date temporarily

This commit is contained in:
Erik Ziegler 2018-07-12 14:35:57 +02:00
parent 4279396f9f
commit c8f242d5f5
2 changed files with 6 additions and 3 deletions

View File

@ -151,9 +151,6 @@ function search() {
// returned as 'undefined'
const modality = replaceUndefinedColumnValue($('input#modality').val());
// Clear all current studies
OHIF.studylist.collections.Studies.remove({});
Meteor.call('StudyListSearch', filter, (error, studies) => {
OHIF.log.info('StudyListSearch');
// Hide loading text
@ -182,6 +179,9 @@ function search() {
return;
}
// Clear all current studies
OHIF.studylist.collections.Studies.remove({});
// Loop through all identified studies
studies.forEach(study => {
// Search the rest of the parameters that aren't done via the server call

View File

@ -88,6 +88,9 @@ $bodyCellHeight = 40px
border-bottom: solid 1px #6fbde2
width: 100%
&.studyDate
min-width: 230px
&:first-child
padding-left: $tablePadding