Merge pull request #14804 from Budibase/fix-data-provider-filtering
Don't extend dataprovider queries when no extensions are in use
This commit is contained in:
commit
2976e605e0
|
@ -126,6 +126,9 @@
|
|||
}
|
||||
|
||||
const extendQuery = (defaultQuery, extensions) => {
|
||||
if (!Object.keys(extensions).length) {
|
||||
return defaultQuery
|
||||
}
|
||||
const extended = {
|
||||
[LogicalOperator.AND]: {
|
||||
conditions: [
|
||||
|
|
Loading…
Reference in New Issue