From 738a2e007857590db7c20071bd9dd773f0ba5932 Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 15 Mar 2023 12:26:47 -0400 Subject: [PATCH] Columns should not be removed on reset, but any filters applied to those columns should be removed. --- .../src/components/ProcessInstanceListTable.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx b/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx index 9f8d258c..04710605 100644 --- a/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx +++ b/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx @@ -704,11 +704,8 @@ export default function ProcessInstanceListTable({ setEndToTime(''); setProcessInitiatorSelection(null); setProcessInitiatorText(''); - if (reportMetadata) { - reportMetadata.columns = reportMetadata.columns.filter( - (column) => !column.filterable - ); + reportMetadata.filter_by = []; } };