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}}