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

9 lines
235 B
JavaScript
Raw Normal View History

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