From b0336584440f319cfe95464b9e8fdcbbce55c363 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Mon, 4 Jan 2021 18:59:45 +0100 Subject: [PATCH] group filters - copy from parent --- packages/web/src/datagrid/TableDataGrid.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/web/src/datagrid/TableDataGrid.js b/packages/web/src/datagrid/TableDataGrid.js index d5bafb68..07e6bb67 100644 --- a/packages/web/src/datagrid/TableDataGrid.js +++ b/packages/web/src/datagrid/TableDataGrid.js @@ -123,7 +123,8 @@ export default function TableDataGrid({ setMyLoadedTime(loadedTime); if (!reference) return; const filters = { - ...childConfig.filters, + // ...childConfig.filters, + ...(config && config.filters), ..._.fromPairs( reference.columns.map((col) => [ col.refName,