diff --git a/packages/ra-data-graphql-simple/src/buildVariables.js b/packages/ra-data-graphql-simple/src/buildVariables.js index 1a18148e7e0..d0a710b90e1 100644 --- a/packages/ra-data-graphql-simple/src/buildVariables.js +++ b/packages/ra-data-graphql-simple/src/buildVariables.js @@ -100,7 +100,7 @@ const buildGetListVariables = introspectionResults => ( aorFetchType, params ) => { - let variables = { }; + let variables = { filter: { } }; if (params.filter) { variables.filter = Object.keys(params.filter).reduce((acc, key) => { if (key === 'ids') {