Merge branch 'studyDate'

This commit is contained in:
Erik Ziegler committed 2015-11-17 18:36:48 +01:00
commit 7174dfe73f
17 files changed
+146 -44

No files matched your search

@@ -2,6 +2,7 @@
// This is a client-side only Collection which
// Stores the list of studies in the Worklist
Studies = new Mongo.Collection(null);
PatientStudies = new Mongo.Collection(null);
Template.worklistResult.helpers({
/**
@@ -9,6 +10,6 @@ Template.worklistResult.helpers({
* by Patient name and Study Date in Ascending order.
*/
studies : function() {
return Studies.find({}, {sort: {patientName : 1, studyDate : 1}});
return WorklistStudies.find({}, {sort: {patientName : 1, studyDate : 1}});
}
});