From fa9f8a79a822e1bb73e1e90eeb4e0a0ac9b62e3a Mon Sep 17 00:00:00 2001 From: Juan Date: Tue, 13 Mar 2018 13:55:21 +0100 Subject: [PATCH] vnAutocomplete filter fixes --- client/client/src/basic-data/basic-data.html | 2 +- client/client/src/create/create.html | 2 +- client/item/src/data/item-data.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/client/src/basic-data/basic-data.html b/client/client/src/basic-data/basic-data.html index 0a576574a..77865c4f6 100644 --- a/client/client/src/basic-data/basic-data.html +++ b/client/client/src/basic-data/basic-data.html @@ -30,7 +30,7 @@ value-field="id" select-fields="name" label="Salesperson" - filter-search="{where: {or: [{name: {regexp: 'search'}}, {name: {regexp: 'search'}}]}}"> + where="{or: [{firstName: {regexp: 'search'}}, {name: {regexp: 'search'}}]}"> + where="{or: [{firstName: {regexp: 'search'}}, {name: {regexp: 'search'}}]}"> diff --git a/client/item/src/data/item-data.html b/client/item/src/data/item-data.html index 842944756..507fdc2b2 100644 --- a/client/item/src/data/item-data.html +++ b/client/item/src/data/item-data.html @@ -30,7 +30,7 @@ show-field="description" value-field="id" field="$ctrl.item.intrastatFk" - filter-search= "{where: {or: [{id: {regexp: 'search'}}, {description: {regexp: 'search'}}]}}" + where="{or: [{id: {regexp: 'search'}}, {description: {regexp: 'search'}}]}" initial-data="$ctrl.item.intrastat"> {{id}} : {{description}}