changeset 5821:37e5d0918006 default tip

Fix C-Find queries not returning private tags in the modality worklist plugin
author Alain Mazy <am@orthanc.team>
date Mon, 30 Sep 2024 10:22:12 +0200
parents 6488cebb7147
children
files NEWS OrthancFramework/Sources/DicomNetworking/DicomFindAnswers.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Mon Sep 30 09:51:01 2024 +0200
+++ b/NEWS	Mon Sep 30 10:22:12 2024 +0200
@@ -26,6 +26,7 @@
   for a long period.
 * Fix C-Find queries not returning computed tags like ModalitiesInStudy, NumberOfStudyRelatedSeries, ...
   in very specific use-cases.
+* Fix C-Find queries not returning private tags in the modality worklist plugin.
 * Fix extremely rare error when 2 threads are trying to create the same folder in the File Storage 
   at the same time.
 * Metrics:
--- a/OrthancFramework/Sources/DicomNetworking/DicomFindAnswers.cpp	Mon Sep 30 09:51:01 2024 +0200
+++ b/OrthancFramework/Sources/DicomNetworking/DicomFindAnswers.cpp	Mon Sep 30 10:22:12 2024 +0200
@@ -202,7 +202,7 @@
                                 DicomToJsonFormat format) const
   {
     const ParsedDicomFile& answer = GetAnswer(index);
-    answer.DatasetToJson(target, format, DicomToJsonFlags_None, 0);
+    answer.DatasetToJson(target, format, DicomToJsonFlags_IncludePrivateTags, 0);
   }