# HG changeset patch
# User Shivanand Madiwalar <shivanand.madiwalar@promantia.com>
# Date 1479895565 -19800
#      Wed Nov 23 15:36:05 2016 +0530
# Node ID 718f52f9726fa45301801707940d89fb68007505
# Parent  0de62cc51a8dd686cdf511fb47fa72d0fca01bb0
Related to Issue 34531 : Logic Added For the Product Filter when its COmbined with "Stock" filter and having any pattern which belongs to the same product over not only "STARTS WITH" Operator .

diff --git a/web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js b/web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
--- a/web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
+++ b/web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
@@ -1714,7 +1714,7 @@
               },
               productName = {
               columns: ['_filter'],
-              operator: OB.Dal.STARTSWITH,
+              operator: OB.Dal.CONTAINS,
               value: inEvent.productName
               },
               ispack = {
