Mercurial > hg > orthanc
changeset 3182:5d51f87d8326
Fix regression if calling "/tools/find" with the tag "ModalitiesInStudy"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 31 Jan 2019 17:39:14 +0100 |
parents | 6fd38327e777 |
children | 98187ab5a4c9 |
files | NEWS OrthancServer/Search/DatabaseLookup.cpp |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Thu Jan 31 15:33:27 2019 +0100 +++ b/NEWS Thu Jan 31 17:39:14 2019 +0100 @@ -24,6 +24,7 @@ Maintenance ----------- +* Fix regression if calling "/tools/find" with the tag "ModalitiesInStudy" * Fix build with unpatched versions of Civetweb (missing "mg_disable_keep_alive()") * Fix issue #130 (Orthanc failed to start when /tmp partition was full)
--- a/OrthancServer/Search/DatabaseLookup.cpp Thu Jan 31 15:33:27 2019 +0100 +++ b/OrthancServer/Search/DatabaseLookup.cpp Thu Jan 31 17:39:14 2019 +0100 @@ -172,7 +172,8 @@ (tag, ConstraintType_SmallerOrEqual, upper, caseSensitive, mandatoryTag)); } } - else if (dicomQuery.find('\\') != std::string::npos) + else if (tag == DICOM_TAG_MODALITIES_IN_STUDY || + dicomQuery.find('\\') != std::string::npos) { DicomTag fixedTag(tag);