Mercurial > hg > orthanc
diff OrthancServer/OrthancFindRequestHandler.cpp @ 1429:7366a0bdda6a
attempt of fix for Syngo.Via
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 29 Jun 2015 14:43:08 +0200 |
parents | 5c11c4e728eb |
children | f967bdf8534e |
line wrap: on
line diff
--- a/OrthancServer/OrthancFindRequestHandler.cpp Mon Jun 29 13:26:34 2015 +0200 +++ b/OrthancServer/OrthancFindRequestHandler.cpp Mon Jun 29 14:43:08 2015 +0200 @@ -288,6 +288,11 @@ } std::string value = query.GetElement(i).GetValue().AsString(); + if (value.size() == 0) + { + // An empty string corresponds to a "*" wildcard constraint, so we ignore it + continue; + } if (tag == DICOM_TAG_MODALITIES_IN_STUDY) {