comparison 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
comparison
equal deleted inserted replaced
1428:0a355eeeb351 1429:7366a0bdda6a
286 { 286 {
287 continue; 287 continue;
288 } 288 }
289 289
290 std::string value = query.GetElement(i).GetValue().AsString(); 290 std::string value = query.GetElement(i).GetValue().AsString();
291 if (value.size() == 0)
292 {
293 // An empty string corresponds to a "*" wildcard constraint, so we ignore it
294 continue;
295 }
291 296
292 if (tag == DICOM_TAG_MODALITIES_IN_STUDY) 297 if (tag == DICOM_TAG_MODALITIES_IN_STUDY)
293 { 298 {
294 findQuery.SetModalitiesInStudy(value); 299 findQuery.SetModalitiesInStudy(value);
295 } 300 }