# HG changeset patch # User Sebastien Jodogne # Date 1776151749 -7200 # Node ID ba2ac5b743bb06a32283b05804880daa12cb3c48 # Parent e1587337c059fd2cb45a27458b36fe8203317d3d fix LookupIdentifierExact() diff -r e1587337c059 -r ba2ac5b743bb OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp --- a/OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp Tue Apr 14 07:22:04 2026 +0200 +++ b/OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp Tue Apr 14 09:29:09 2026 +0200 @@ -1220,7 +1220,7 @@ if (!isIdentical) // if an exact match can not be ensured because some values contained characters that are removed from the DicomIdentifier table during normalization, // search in the MainDicomTags table instead. { - dbConstraint.reset(c.ConvertToDatabaseConstraint(isIdentical, level, DicomTagType_Main)); + dbConstraint.reset(c.ConvertToDatabaseConstraint(isIdentical, level, DicomTagType_Identifier)); } request.GetDicomTagConstraints().AddConstraint(dbConstraint.release());