Fix issue with data provider query not updating

This commit is contained in:
Andrew Kingston 2021-11-16 17:55:24 +00:00
parent 9420ee2b5e
commit 9bd01987af
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@
const extendQuery = (defaultQuery, extensions) => { const extendQuery = (defaultQuery, extensions) => {
const extensionValues = Object.values(extensions || {}) const extensionValues = Object.values(extensions || {})
let extendedQuery = { ...query } let extendedQuery = { ...defaultQuery }
extensionValues.forEach(({ operator, field, value }) => { extensionValues.forEach(({ operator, field, value }) => {
extendedQuery[operator] = { extendedQuery[operator] = {
...extendedQuery[operator], ...extendedQuery[operator],