changeset 5794:44eef6975662 find-refactoring

fix
author Alain Mazy <am@orthanc.team>
date Wed, 18 Sep 2024 14:55:06 +0200
parents a8055aebc6cb
children 9990b4140c1c
files OrthancServer/Sources/ResourceFinder.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Sources/ResourceFinder.cpp	Wed Sep 18 12:30:49 2024 +0200
+++ b/OrthancServer/Sources/ResourceFinder.cpp	Wed Sep 18 14:55:06 2024 +0200
@@ -810,7 +810,7 @@
       
         // check which tags have been saved in DB; that's the way to know if they are missing because they were not saved or because they have no value
         
-        std::string signature = DicomMap::GetDefaultMainDicomTagsSignature(ResourceType_Study); // default signature in case it's not in the metadata (= the signature for 1.11.0)
+        std::string signature = DicomMap::GetDefaultMainDicomTagsSignature(level); // default signature in case it's not in the metadata (= the signature for 1.11.0)
         if (resource.LookupMetadata(signature, level, MetadataType_MainDicomTagsSignature))
         {
           if (level == ResourceType_Study) // when we retrieve the study tags, we actually also get the patient tags that are also saved at study level but not included in the signature