changeset 4525:8262ffb393ff

The numbering of sequences in Orthanc Explorer now uses the DICOM convention (starts at 1)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 23 Feb 2021 15:19:40 +0100
parents f8660649ae96
children 59b667dd58a8
files NEWS OrthancServer/OrthancExplorer/explorer.js
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Tue Feb 23 15:05:55 2021 +0100
+++ b/NEWS	Tue Feb 23 15:19:40 2021 +0100
@@ -37,6 +37,7 @@
 * Improved precision of floating-point numbers in DICOM-as-JSON and DICOM summary
 * Optimization in C-STORE SCP by avoiding an unnecessary DICOM parsing
 * Fix build on big-endian architectures
+* The numbering of sequences in Orthanc Explorer now uses the DICOM convention (starts at 1)
 * Possibility to generate a static library containing the Orthanc Framework
 
 
--- a/OrthancServer/OrthancExplorer/explorer.js	Tue Feb 23 15:05:55 2021 +0100
+++ b/OrthancServer/OrthancExplorer/explorer.js	Tue Feb 23 15:19:40 2021 +0100
@@ -856,7 +856,7 @@
         c = [];
         for (var j = 0; j < dicom[i]["Value"].length; j++) {
           c.push({
-            label: 'Item ' + j,
+            label: 'Item ' + (j + 1),
             children: ConvertForTree(dicom[i]["Value"][j])
           });
         }