refs #6280 perf locationFilter
This commit is contained in:
parent
37859892fa
commit
5ebeb7fe47
|
@ -72,8 +72,8 @@ onMounted(() => {
|
|||
locationFilter()
|
||||
})
|
||||
function locationFilter(search) {
|
||||
let where = { search };
|
||||
postcodesRef.value.fetch({ where, limit: 30});
|
||||
let args = { filter:{limit: 30}, search};
|
||||
postcodesRef.value.fetch({args});
|
||||
}
|
||||
function handleFetch( data) {
|
||||
postcodesOptions.value = data;
|
||||
|
|
Loading…
Reference in New Issue