ohif-viewer/Packages/viewerbase/client/components/studyBrowser/studyBrowser/studyBrowser.html
Evren Ozkan af639b4de2 Allow to sort thumbnails by AcquisitionDateTime or any other stack property (sorted by InstanceNumber ascending by default)
- Retrieve AcquisitionDateTime via DICOMWeb (WIP for DIMSE)
- Add a global template helper to sort arrays by an array element property or deep array element propery, and sort type
2016-10-24 09:47:12 -04:00

12 lines
399 B
HTML

<template name="studyBrowser">
<div class="studyBrowser">
<div class="scrollableStudyThumbnails">
{{#each study in studies}}
{{#each thumbnail in (sort (studyThumbnails study) thumbnailSortBy thumbnailSortType)}}
{{>thumbnailEntry thumbnail=thumbnail}}
{{/each}}
{{/each}}
</div>
</div>
</template>