Mercurial > hg > orthanc
comparison OrthancServer/OrthancFindRequestHandler.cpp @ 1374:a1745d9be6e9
CaseSensitivePN configuration option
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 28 May 2015 15:30:42 +0200 |
parents | 94ffb597d297 |
children | 1cd2e09cb0e5 |
comparison
equal
deleted
inserted
replaced
1369:4460e2622016 | 1374:a1745d9be6e9 |
---|---|
229 throw OrthancException("Unknown modality"); | 229 throw OrthancException("Unknown modality"); |
230 } | 230 } |
231 | 231 |
232 // ModalityManufacturer manufacturer = modality.GetManufacturer(); | 232 // ModalityManufacturer manufacturer = modality.GetManufacturer(); |
233 | 233 |
234 bool caseSensitivePN = Configuration::GetGlobalBoolParameter("CaseSensitivePN", true); | |
235 | |
234 | 236 |
235 /** | 237 /** |
236 * Retrieve the query level. | 238 * Retrieve the query level. |
237 **/ | 239 **/ |
238 | 240 |
291 { | 293 { |
292 findQuery.SetModalitiesInStudy(value); | 294 findQuery.SetModalitiesInStudy(value); |
293 } | 295 } |
294 else | 296 else |
295 { | 297 { |
296 findQuery.SetConstraint(tag, value); | 298 findQuery.SetConstraint(tag, value, caseSensitivePN); |
297 } | 299 } |
298 } | 300 } |
299 | 301 |
300 | 302 |
301 /** | 303 /** |