diff OrthancServer/Sources/OrthancFindRequestHandler.cpp @ 4460:6831de40acd9

New metadata automatically computed at the series level: "RemoteAET"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Jan 2021 14:20:37 +0100
parents d9473bd5ed43
children c1f36fd13730
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancFindRequestHandler.cpp	Wed Jan 20 13:30:54 2021 +0100
+++ b/OrthancServer/Sources/OrthancFindRequestHandler.cpp	Wed Jan 20 14:20:37 2021 +0100
@@ -200,7 +200,7 @@
              it = instances.begin(); it != instances.end(); ++it)
       {
         std::string value;
-        if (context.LookupOrReconstructMetadata(value, *it, MetadataType_Instance_SopClassUid))
+        if (context.LookupOrReconstructMetadata(value, *it, ResourceType_Instance, MetadataType_Instance_SopClassUid))
         {
           values.insert(value);
         }