From 9bd01987afae0baad92fe8ee6d2fcb41958d5ee4 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 16 Nov 2021 17:55:24 +0000 Subject: [PATCH] Fix issue with data provider query not updating --- packages/client/src/components/app/DataProvider.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/app/DataProvider.svelte b/packages/client/src/components/app/DataProvider.svelte index cec582e718..08f2fb06cd 100644 --- a/packages/client/src/components/app/DataProvider.svelte +++ b/packages/client/src/components/app/DataProvider.svelte @@ -294,7 +294,7 @@ const extendQuery = (defaultQuery, extensions) => { const extensionValues = Object.values(extensions || {}) - let extendedQuery = { ...query } + let extendedQuery = { ...defaultQuery } extensionValues.forEach(({ operator, field, value }) => { extendedQuery[operator] = { ...extendedQuery[operator],