changeset 1332:f2033e228864

author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 30 Mar 2015 14:34:40 +0200
parents 77e129ba64e4
children 732b6a4ed541
files NEWS OrthancServer/OrthancFindRequestHandler.cpp
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Thu Mar 12 10:47:32 2015 +0100
+++ b/NEWS	Mon Mar 30 14:34:40 2015 +0200
@@ -2,6 +2,7 @@
 ===============================
 
 * Prevent freeze on C-FIND if no DICOM tag is to be returned
+* Fix issue 30 (QR response missing "Query/Retrieve Level" (008,0052))
 
 
 Version 0.8.6 (2015/02/12)
--- a/OrthancServer/OrthancFindRequestHandler.cpp	Thu Mar 12 10:47:32 2015 +0100
+++ b/OrthancServer/OrthancFindRequestHandler.cpp	Mon Mar 30 14:34:40 2015 +0200
@@ -204,8 +204,9 @@
 
     for (size_t i = 0; i < query.GetSize(); i++)
     {
-      if (query.GetElement(i).GetTag() != DICOM_TAG_QUERY_RETRIEVE_LEVEL &&
-          query.GetElement(i).GetTag() != DICOM_TAG_SPECIFIC_CHARACTER_SET)
+      // Fix issue 30 (QR response missing "Query/Retrieve Level" (008,0052))
+      /*if (query.GetElement(i).GetTag() != DICOM_TAG_QUERY_RETRIEVE_LEVEL &&
+        query.GetElement(i).GetTag() != DICOM_TAG_SPECIFIC_CHARACTER_SET)*/
       {
         std::string tag = query.GetElement(i).GetTag().Format();
         std::string value;