Mercurial > hg > orthanc
changeset 5777:92298bfc5451 find-refactoring
fix
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Fri, 13 Sep 2024 16:56:48 +0200 |
parents | de33982a0bf4 |
children | f679ae844839 |
files | OrthancServer/Plugins/Engine/OrthancPluginDatabaseV4.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV4.cpp Fri Sep 13 11:57:14 2024 +0200 +++ b/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV4.cpp Fri Sep 13 16:56:48 2024 +0200 @@ -1525,20 +1525,20 @@ if (request.GetLevel() == ResourceType_Patient) { - Convert(*target, ResourceType_Patient, source.children_studies_content()); + Convert(*target, ResourceType_Study, source.children_studies_content()); } if (request.GetLevel() == ResourceType_Patient || request.GetLevel() == ResourceType_Study) { - Convert(*target, ResourceType_Study, source.children_series_content()); + Convert(*target, ResourceType_Series, source.children_series_content()); } if (request.GetLevel() == ResourceType_Patient || request.GetLevel() == ResourceType_Study || request.GetLevel() == ResourceType_Series) { - Convert(*target, ResourceType_Series, source.children_instances_content()); + Convert(*target, ResourceType_Instance, source.children_instances_content()); } if (request.IsRetrieveOneInstanceMetadataAndAttachments())