Getting re-loading of view queries working again.
This commit is contained in:
parent
bcb940b7eb
commit
932413c4c1
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue