comparison OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp @ 5592:1e2631b8b9af find-refactoring

GenericFind::Execute() is working for a basic request
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 03 May 2024 21:26:06 +0200
parents 8b32213af23e
children 862b54b4cfe2
comparison
equal deleted inserted replaced
5591:043c8016ed6a 5592:1e2631b8b9af
3875 if (request.GetLevel() != resource.GetLevel()) 3875 if (request.GetLevel() != resource.GetLevel())
3876 { 3876 {
3877 throw OrthancException(ErrorCode_InternalError); 3877 throw OrthancException(ErrorCode_InternalError);
3878 } 3878 }
3879 3879
3880 if (request.IsRetrieveTagsAtLevel(request.GetLevel())) 3880 if (request.IsRetrieveMainDicomTags())
3881 { 3881 {
3882 resource.GetDicomTagsAtLevel(tags_, request.GetLevel()); 3882 resource.GetMainDicomTags(tags_);
3883 } 3883 }
3884 3884
3885 if (request.IsRetrieveChildrenIdentifiers()) 3885 if (request.IsRetrieveChildrenIdentifiers())
3886 { 3886 {
3887 const std::set<std::string>& s = resource.GetChildrenIdentifiers(GetChildResourceType(request.GetLevel())); 3887 const std::set<std::string>& s = resource.GetChildrenIdentifiers(GetChildResourceType(request.GetLevel()));