From 381cdb342139cd054fd58fc65e961c5ff4c9ad83 Mon Sep 17 00:00:00 2001 From: NSUWAL123 Date: Thu, 26 Sep 2024 16:49:44 +0545 Subject: [PATCH] fix(dialogTaskActions): add task id filter on odk redirect --- src/frontend/src/components/DialogTaskActions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/DialogTaskActions.tsx b/src/frontend/src/components/DialogTaskActions.tsx index a9692f986d..cac25bb9d2 100755 --- a/src/frontend/src/components/DialogTaskActions.tsx +++ b/src/frontend/src/components/DialogTaskActions.tsx @@ -232,7 +232,7 @@ export default function Dialog({ taskId, feature }: dialogPropType) { ); if (isMobile) { - document.location.href = `odkcollect://form/${projectInfo.xform_id}`; + document.location.href = `odkcollect://form/${projectInfo.xform_id}?task_filter=${taskId}`; } else { dispatch( CommonActions.SetSnackBar({