Skip to content

Commit 58ed958

Browse files
MBilalShafithomasmoon
authored andcommitted
[DataGrid] Fix server-side filter demo not working (mui#12662)
1 parent a32a013 commit 58ed958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/x-data-grid-generator/src/hooks/useQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const getFilteredRows = (
100100
return rows.filter((row: GridRowModel) =>
101101
filterModel.items.every((_, index) => {
102102
const value = valueGetters[index](row);
103-
return filterFunctions[index] === null ? true : filterFunctions[index]({ value });
103+
return filterFunctions[index] === null ? true : filterFunctions[index](value);
104104
}),
105105
);
106106
};

0 commit comments

Comments
 (0)