changeset 210:f2b5773fecf3

New option: "QidoCaseSensitive" to make queries to QIDO-RS server case insentitive
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Mar 2018 08:58:14 +0100
parents 28d017f770a3
children e173f53f4777
files NEWS Plugin/QidoRs.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Thu Jan 11 16:57:23 2018 +0100
+++ b/NEWS	Wed Mar 14 08:58:14 2018 +0100
@@ -1,6 +1,7 @@
 Pending changes in the mainline
 ===============================
 
+* New option: "QidoCaseSensitive" to make queries to QIDO-RS server case insentitive
 * Defaults to JSON answers instead of XML
 * Use of "application/dicom+json" MIME type instead of "application/json"
 * Added "?expand" argument to "/servers" route
--- a/Plugin/QidoRs.cpp	Thu Jan 11 16:57:23 2018 +0100
+++ b/Plugin/QidoRs.cpp	Wed Mar 14 08:58:14 2018 +0100
@@ -270,7 +270,7 @@
       }
 
       result["Expand"] = false;
-      result["CaseSensitive"] = true;
+      result["CaseSensitive"] = OrthancPlugins::Configuration::GetBooleanValue("QidoCaseSensitive", true);
       result["Query"] = Json::objectValue;
       result["Limit"] = limit_;
       result["Since"] = offset_;