Getting re-loading of view queries working again.

This commit is contained in:
mike12345567 2024-10-02 18:57:40 +01:00
parent bcb940b7eb
commit 932413c4c1
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ function convertToSearchFilters(view) {
function convertToSearchFilterGroup(view) { function convertToSearchFilterGroup(view) {
if (view.queryUI) { if (view.queryUI) {
view.query = view.queryUI view.query = view.queryUI
delete view.queryUI
} }
return view return view
} }

View File

@ -135,7 +135,7 @@ export const initialise = context => {
} }
// Only override filter state if we don't have an initial filter // Only override filter state if we don't have an initial filter
if (!get(initialFilter)) { if (!get(initialFilter)) {
filter.set($definition.query) filter.set($definition.queryUI || $definition.query)
} }
}) })
) )