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 72d9ef9ad4
commit efcc083638
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
);
} }
}; };