refs #6280 perf locationFilter

This commit is contained in:
Javier Segarra 2024-01-23 23:23:51 +01:00
parent 37859892fa
commit 5ebeb7fe47
1 changed files with 2 additions and 2 deletions

View File

@ -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;