Fix issue with data provider query not updating
This commit is contained in:
parent
9420ee2b5e
commit
9bd01987af
|
@ -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],
|
||||||
|
|
Loading…
Reference in New Issue