diff OrthancServer/Sources/LuaScripting.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 b4c58795f3a8
line wrap: on
line diff
--- a/OrthancServer/Sources/LuaScripting.cpp	Wed Jan 20 13:30:54 2021 +0100
+++ b/OrthancServer/Sources/LuaScripting.cpp	Wed Jan 20 14:20:37 2021 +0100
@@ -169,7 +169,7 @@
       if (that.context_.GetIndex().LookupResource(tags, change_.GetPublicId(), change_.GetResourceType()))
       {
         std::map<MetadataType, std::string> metadata;
-        that.context_.GetIndex().GetAllMetadata(metadata, change_.GetPublicId());
+        that.context_.GetIndex().GetAllMetadata(metadata, change_.GetPublicId(), change_.GetResourceType());
         
         Json::Value formattedMetadata = Json::objectValue;