Mercurial > hg > orthanc
diff OrthancServer/Sources/Database/FindRequest.h @ 5666:aa231c18b9d2 find-refactoring
adding computed tags
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 04 Jul 2024 18:31:54 +0200 |
parents | 3f13db27b399 |
children | 93dff1fccf36 |
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/FindRequest.h Thu Jul 04 14:36:24 2024 +0200 +++ b/OrthancServer/Sources/Database/FindRequest.h Thu Jul 04 18:31:54 2024 +0200 @@ -407,7 +407,8 @@ bool IsRetrieveOneInstanceIdentifier() const { - return retrieveOneInstanceIdentifier_; + return (retrieveOneInstanceIdentifier_ || + GetChildrenRetrieveSpecification(ResourceType_Instance).IsRetrieveIdentifiers()); } }; }