# HG changeset patch # User Alain Mazy # Date 1726664106 -7200 # Node ID 44eef697566223eb29ac6490935f1f8e322ebdb5 # Parent a8055aebc6cb68b481b2fa8d55e763293b5aae6e fix diff -r a8055aebc6cb -r 44eef6975662 OrthancServer/Sources/ResourceFinder.cpp --- 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