Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0039215 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
feature request | [Retail Modules] Web POS | minor | always | 2018-09-03 13:02 | 2018-09-03 13:02 | |||||||
Reporter | Leyre | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0039215: Modify the product search on Web Pos. | |||||||||||
Description | It is required that the SQL returns only the products that start with the text/number entered in the search. | |||||||||||
Steps To Reproduce | Example: Product 1 name = product1 Product 2 name = product2 Product 3 name=3product Expected result: when you search by "product" only see product1 and product2. ** There is a preference for searching in remote mode that is used for this: Use contains in Remote Product search | |||||||||||
Proposed Solution | Modify the code in ob-retail-searchproducts.js Now: if (inEvent.productName) { inEvent.productName = '%' + inEvent.productName + '%'; whereClause += '_filter like ?'; params.push(inEvent.productName); } else { whereClause += '1 = 1'; } Proposed change: if (inEvent.productName) { inEvent.productName =inEvent.productName + '%'; whereClause += '_filter like ?'; params.push(inEvent.productName); } else { whereClause += '1 = 1'; } | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Issue History | |||
Date Modified | Username | Field | Change |
2018-09-03 13:02 | Leyre | New Issue | |
2018-09-03 13:02 | Leyre | Assigned To | => Retail |
2018-09-03 13:02 | Leyre | Triggers an Emergency Pack | => No |
Copyright © 2000 - 2009 MantisBT Group |