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() locationFilter()
}) })
function locationFilter(search) { function locationFilter(search) {
let where = { search }; let args = { filter:{limit: 30}, search};
postcodesRef.value.fetch({ where, limit: 30}); postcodesRef.value.fetch({args});
} }
function handleFetch( data) { function handleFetch( data) {
postcodesOptions.value = data; postcodesOptions.value = data;