# HG changeset patch # User Alain Mazy # Date 1724854365 -7200 # Node ID 2047b0921877fb68438928abffa450c2bb44eda2 # Parent 8e50b0b45233dc1e4e6f1f9728bb97db9bc03220 Fixed parsing of numerical values in QIDO-RS response diff -r 8e50b0b45233 -r 2047b0921877 NEWS --- a/NEWS Mon Aug 26 12:28:44 2024 +0200 +++ b/NEWS Wed Aug 28 16:12:45 2024 +0200 @@ -2,6 +2,8 @@ =============================== * Added a "Server" entry in the DICOMWeb job content. +* Fixed parsing of numerical values in QIDO-RS response that prevented, amongst other, + the retrieval of NumberOfStudyRelatedInstances, NumberOfStudyRelatedSeries, ... Version 1.17 (2024-06-05) diff -r 8e50b0b45233 -r 2047b0921877 Plugin/Plugin.cpp --- a/Plugin/Plugin.cpp Mon Aug 26 12:28:44 2024 +0200 +++ b/Plugin/Plugin.cpp Wed Aug 28 16:12:45 2024 +0200 @@ -256,6 +256,10 @@ switch (content.type()) { + case Json::intValue: + value["Value"] = content; + break; + case Json::stringValue: value["Value"] = content.asString(); break;