From 649c09c551edcbe011e164afd71c523176b0e49c Mon Sep 17 00:00:00 2001 From: Gerard Date: Wed, 23 Jan 2019 15:06:11 +0100 Subject: [PATCH] #1025 item.create al crear articulo nuevo no busca tipo ni color --- modules/item/front/create/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/item/front/create/index.html b/modules/item/front/create/index.html index 51b83b404..0055056c8 100644 --- a/modules/item/front/create/index.html +++ b/modules/item/front/create/index.html @@ -24,7 +24,7 @@ fields="['code', 'name']" value-field="id" field="$ctrl.item.typeFk" - search-function="{or: [{code: {regexp: $search}}, {name: {regexp: $search}}]}"> + search-function="{or: [{code: {like: '%'+ $search +'%'}}, {name: {like: '%'+ $search +'%'}}]}">
{{::code}}
{{::name}}
@@ -36,7 +36,7 @@ show-field="description" value-field="id" field="$ctrl.item.intrastatFk" - search-function="{or: [{id: {regexp: $search}}, {description: {regexp: $search}}]}"> + search-function="{or: [{id: {like: '%'+ $search +'%'}}, {description: {like: '%'+ $search +'%'}}]}">
{{::id}}
{{::description}}