diff OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp @ 5595:a87f2a56257d find-refactoring

implemented FindRequest::retrieveChildrenMetadata_
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 07 May 2024 12:53:12 +0200
parents 1e2631b8b9af
children 81a29ad7fb4b
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp	Sat May 04 15:25:19 2024 +0200
+++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp	Tue May 07 12:53:12 2024 +0200
@@ -251,7 +251,7 @@
 
         if (resourceType == ResourceType_Series)
         {
-          request.SetRetrieveChildrenMetadata(true); // required for the SeriesStatus
+          request.AddRetrieveChildrenMetadata(MetadataType_Instance_IndexInSeries); // required for the SeriesStatus
         }
 
         if (resourceType == ResourceType_Instance)