diff --git a/app/react/components/datatables/Datatable.tsx b/app/react/components/datatables/Datatable.tsx index a7f8b2862..f845e221d 100644 --- a/app/react/components/datatables/Datatable.tsx +++ b/app/react/components/datatables/Datatable.tsx @@ -125,12 +125,13 @@ export function Datatable({ pageIndex: page || 0, }, sorting: settings.sortBy ? [settings.sortBy] : [], + + ...initialTableState, + globalFilter: { search: settings.search, ...initialTableState.globalFilter, }, - - ...initialTableState, }, defaultColumn: { enableColumnFilter: false,