From cd1a2ac31eeb8d67b74434c19a39cde9015eb259 Mon Sep 17 00:00:00 2001 From: chin Date: Tue, 1 Aug 2023 22:04:12 +0800 Subject: [PATCH] fix: SQ conversion query object incorrect # Problems - Missing index for array --- api/dicom-web/controller/QIDO-RS/service/QIDO-RS.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/dicom-web/controller/QIDO-RS/service/QIDO-RS.service.js b/api/dicom-web/controller/QIDO-RS/service/QIDO-RS.service.js index 4ab297c7..0735102b 100644 --- a/api/dicom-web/controller/QIDO-RS/service/QIDO-RS.service.js +++ b/api/dicom-web/controller/QIDO-RS/service/QIDO-RS.service.js @@ -154,7 +154,7 @@ function convertAllQueryToDICOMTag(iParam) { if (dictionary.keyword[keyNameSplit[x]]) { newKeyNames.push(dictionary.keyword[keyNameSplit[x]]); } else if (dictionary.tag[keyNameSplit[x]]) { - newKeyNames.push(keyNameSplit); + newKeyNames.push(keyNameSplit[x]); } } if (newKeyNames.length === 0) {