Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/Compatibility/GenericFind.cpp @ 5606:6e2dad336446 find-refactoring
added "IsStable" field in expanded resources
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 08 May 2024 10:46:11 +0200 |
parents | 81a29ad7fb4b |
children | 4690a0d2b01e |
comparison
equal
deleted
inserted
replaced
5605:3f24eb4013d8 | 5606:6e2dad336446 |
---|---|
187 if (level != request.GetLevel()) | 187 if (level != request.GetLevel()) |
188 { | 188 { |
189 throw OrthancException(ErrorCode_DatabasePlugin); | 189 throw OrthancException(ErrorCode_DatabasePlugin); |
190 } | 190 } |
191 | 191 |
192 std::unique_ptr<FindResponse::Resource> resource(new FindResponse::Resource(request.GetLevel(), identifier)); | 192 std::unique_ptr<FindResponse::Resource> resource(new FindResponse::Resource(request.GetLevel(), internalId, identifier)); |
193 | 193 |
194 if (request.IsRetrieveParentIdentifier()) | 194 if (request.IsRetrieveParentIdentifier()) |
195 { | 195 { |
196 assert(!parent.empty()); | 196 assert(!parent.empty()); |
197 resource->SetParentIdentifier(parent); | 197 resource->SetParentIdentifier(parent); |