Mercurial > hg > orthanc-databases
changeset 615:0aaeae85be08
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 17 Dec 2024 20:33:12 +0100 |
parents | ffa8b4ba8658 |
children | d79ba6cbf0ee 20d7c9471e8e |
files | Framework/Plugins/ISqlLookupFormatter.cpp |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Plugins/ISqlLookupFormatter.cpp Tue Dec 17 20:26:25 2024 +0100 +++ b/Framework/Plugins/ISqlLookupFormatter.cpp Tue Dec 17 20:33:12 2024 +0100 @@ -858,13 +858,13 @@ { switch (level) { - case Orthanc::ResourceType::ResourceType_Patient: + case Orthanc::ResourceType_Patient: return request.orthanc_id_patient(); - case Orthanc::ResourceType::ResourceType_Study: + case Orthanc::ResourceType_Study: return request.orthanc_id_study(); - case Orthanc::ResourceType::ResourceType_Series: + case Orthanc::ResourceType_Series: return request.orthanc_id_series(); - case Orthanc::ResourceType::ResourceType_Instance: + case Orthanc::ResourceType_Instance: return request.orthanc_id_instance(); default: throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError); @@ -907,10 +907,10 @@ switch (ordering.key_type()) { - case Orthanc::DatabasePluginMessages::OrderingKeyType::ORDERING_KEY_TYPE_DICOM_TAG: + case Orthanc::DatabasePluginMessages::ORDERING_KEY_TYPE_DICOM_TAG: FormatJoinForOrdering(orderingJoin, ordering.tag_group(), ordering.tag_element(), MessagesToolbox::Convert(ordering.tag_level()), ordering.is_identifier_tag(), i, queryLevel); break; - case Orthanc::DatabasePluginMessages::OrderingKeyType::ORDERING_KEY_TYPE_METADATA: + case Orthanc::DatabasePluginMessages::ORDERING_KEY_TYPE_METADATA: FormatJoinForOrdering(orderingJoin, ordering.metadata(), i, queryLevel); break; default: