sort worklist by patient name, then study date

This commit is contained in:
radicalrob committed 2015-11-10 09:16:14 -05:00
1 parent aa5e23cf8e
commit 60afb178e8
1 file changed
+1 -1
@@ -2,6 +2,6 @@ Studies = new Mongo.Collection(null);
Template.worklistResult.helpers({ Template.worklistResult.helpers({
studies : function() { studies : function() {
return Studies.find(); return Studies.find({}, {sort: {patientName : 1, studyDate : 1}});
} }
}); });