refs #6694 VnLocation #154

Merged
jsegarra merged 31 commits from 6280_vnLocation into dev 2024-01-29 13:23:04 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit c584eaf723 - Show all commits

View File

@ -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) {
jsegarra marked this conversation as resolved Outdated
Outdated
Review

No veo en que momento se hace el filtrado de datos a las tablas.

No veo en que momento se hace el filtrado de datos a las tablas.
postcodesOptions.value = data;