diff 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
line wrap: on
line diff
--- a/OrthancServer/OrthancFindRequestHandler.cpp	Wed May 27 10:50:59 2015 +0200
+++ b/OrthancServer/OrthancFindRequestHandler.cpp	Thu May 28 15:30:42 2015 +0200
@@ -231,6 +231,8 @@
 
     // ModalityManufacturer manufacturer = modality.GetManufacturer();
 
+    bool caseSensitivePN = Configuration::GetGlobalBoolParameter("CaseSensitivePN", true);
+
 
     /**
      * Retrieve the query level.
@@ -293,7 +295,7 @@
       }
       else
       {
-        findQuery.SetConstraint(tag, value);
+        findQuery.SetConstraint(tag, value, caseSensitivePN);
       }
     }