Columns should not be removed on reset, but any filters applied to those columns should be removed.

This commit is contained in:
Dan 2023-03-15 12:26:47 -04:00
parent 34083f437d
commit 738a2e0078
1 changed files with 1 additions and 4 deletions

View File

@ -704,11 +704,8 @@ export default function ProcessInstanceListTable({
setEndToTime(''); setEndToTime('');
setProcessInitiatorSelection(null); setProcessInitiatorSelection(null);
setProcessInitiatorText(''); setProcessInitiatorText('');
if (reportMetadata) { if (reportMetadata) {
reportMetadata.columns = reportMetadata.columns.filter( reportMetadata.filter_by = [];
(column) => !column.filterable
);
} }
}; };