LT-29: Set activeViewport session for empty imageViewerViewport element, deactivate lesion tools for element which does not have pixel spacing data

This commit is contained in:
Aysel Afsar committed 2016-01-20 20:16:37 -05:00
1 parent 2ceca2bd10
commit 56d2a2f654
4 files changed
+33 -57

No files matched your search

@@ -17,9 +17,8 @@ Template.studyDateList.helpers({
});
// Find studies which have the same patientId as the currently selected study
var relatedStudies = WorklistStudies.find({
patientId: currentStudyInBrowser.patientId
}).fetch();
var relatedStudies = WorklistStudies.find({patientId: currentStudyInBrowser.patientId},
{sort: {studyDate: 1}}).fetch();
// Modify the array of related studies so the default option is the currently selected study
relatedStudies.forEach(function(study) {