ohif-viewer/Packages/ohif-study-list/client/lib/getSelectedStudies.js

10 lines
235 B
JavaScript
Raw Normal View History

import { OHIF } from 'meteor/ohif:core';
OHIF.studylist.getSelectedStudies = () => {
2017-03-15 22:46:07 +01:00
return OHIF.studylist.collections.Studies.find({ selected: true }, {
sort: {
studyDate: 1
}
}).fetch() || [];
};