Mercurial > hg > orthanc
diff OrthancServer/Search/DicomTagConstraint.cpp @ 3792:6dba4fa8a6cb
remove universal wildcard on StudyDate in OrthancExplorer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 26 Mar 2020 07:19:30 +0100 |
parents | 94f4a18a79cc |
children |
line wrap: on
line diff
--- a/OrthancServer/Search/DicomTagConstraint.cpp Wed Mar 25 18:44:17 2020 +0100 +++ b/OrthancServer/Search/DicomTagConstraint.cpp Thu Mar 26 07:19:30 2020 +0100 @@ -105,7 +105,8 @@ (value.find('*') != std::string::npos || value.find('?') != std::string::npos)) { - throw OrthancException(ErrorCode_ParameterOutOfRange); + throw OrthancException(ErrorCode_ParameterOutOfRange, + "Wildcards are not allowed on tag " + tag_.Format()); } if (constraintType_ == ConstraintType_Equal ||