From d83991783272dcc8eb9b78e7f56d33598fb26aa0 Mon Sep 17 00:00:00 2001 From: "shimoda.m@nds-tyo.co.jp" Date: Tue, 10 Oct 2023 15:24:22 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A4=9C=E7=B4=A2=E2=86=92=E3=83=9A?= =?UTF-8?q?=E3=83=BC=E3=82=B8=E3=83=B3=E3=82=B0=E2=86=92=E6=A4=9C=E7=B4=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E5=A4=89=E6=9B=B4=E2=86=92=E3=83=80=E3=82=A6?= =?UTF-8?q?=E3=83=B3=E3=83=AD=E3=83=BC=E3=83=89=E6=8A=BC=E4=B8=8B=E3=81=A7?= =?UTF-8?q?=E3=80=81=E7=B5=90=E6=9E=9C=E3=81=8C=E5=A4=89=E3=82=8F=E3=81=A3?= =?UTF-8?q?=E3=81=A6=E3=81=97=E3=81=BE=E3=81=86=E3=81=AE=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecs/jskult-webapp/src/templates/bioSearchList.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ecs/jskult-webapp/src/templates/bioSearchList.html b/ecs/jskult-webapp/src/templates/bioSearchList.html index 823dea7a..1e345ccc 100644 --- a/ecs/jskult-webapp/src/templates/bioSearchList.html +++ b/ecs/jskult-webapp/src/templates/bioSearchList.html @@ -361,10 +361,11 @@ // ダウンロード用の非表示項目に検索値を埋め込む const bioSearchHiddenForm = document['bioSearchHidden'] const bioDownloadHiddenForm = document['bioDownloadHidden'] - for (const elem of Array.from(bioSearchHiddenForm.elements)) { - bioDownloadHiddenForm[elem.name].value = elem.value + for (const key of Object.keys(searchParams)) { + const elem = bioDownloadHiddenForm[key] + elem.value = searchParams[key] if (elem.type === 'checkbox') { - bioDownloadHiddenForm[elem.name].checked = elem.checked + elem.checked = searchParams[key] === 'true' ? true : false } } $('#result_data').html('')