oroinc / orocommerce

Main OroCommerce package with core functionality.
http:///www.orocommerce.com/
Other
193 stars 84 forks source link

[v1.6][Pricing bundle][Quick order] Quick order autocomplete search. #107

Open xgitxhubx opened 5 years ago

xgitxhubx commented 5 years ago

Hi,

We have an issue with autocomplete search in Quick order.

We have 3 products: | SKU | Name | | SKU123 | Product 1 | | SKU124 | SKU123 - Product 2 | | SKU125 | SKU123 - Product 3 |

When we search SKU123, we have a not found error. I think because the system is searching by SKU or name, and it found the product #SKU124 (or #SKU125) instead. https://github.com/oroinc/orocommerce/blob/1.6/src/Oro/Bundle/PricingBundle/Autocomplete/ProductWithPricesSearchHandler.php#L177