refs #6694 feat change request params filters
This commit is contained in:
parent
d8e7f3acaa
commit
c584eaf723
|
@ -67,10 +67,10 @@ function showLabel(data) {
|
|||
return `${data.code} - ${data.town}(${data.province}), ${data.country}`;
|
||||
}
|
||||
|
||||
function locationFilter(value) {
|
||||
function locationFilter(search) {
|
||||
let where = { limit: 30 };
|
||||
const params = { value };
|
||||
postcodesRef.value.fetch({ where: Object.assign(where, params) });
|
||||
const params = { search };
|
||||
postcodesRef.value.fetch({ where, args: params });
|
||||
}
|
||||
function handleFetch( data) {
|
||||
postcodesOptions.value = data;
|
||||
|
|
Loading…
Reference in New Issue