Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042337Retail ModulesWeb POSpublic2019-11-19 20:132020-02-26 16:59
martinsdan 
Retail 
normalminoralways
newopen 
30Ubuntu 18.04.1 LTS
 
 
No
0042337: Some conditions should be removed in custom filters on Product Search
The condition list should be configurable or, at least, some conditions should be removed for some data types.
For strings, More Than and Less than don't make sense.
Create a new custom filter following http://wiki.openbravo.com/wiki/Retail:Developers_Guide/How-to/Add_Filters_On_Search_Panel [^]

In the "sqlBuilder" chose "fieldType: String"

More Than and Less will be shown when they don't make sense.

If we chose "fieldType: Number", Contains and Not Contains will not be shown.
Make the condition list configurable and only show the dropdown list if there is more than one option.

As an easier option, just hide More Than and Less than for Strings.
No tags attached.
Issue History
2019-11-19 20:13martinsdanNew Issue
2019-11-19 20:13martinsdanAssigned To => Retail
2019-11-19 20:13martinsdanTriggers an Emergency Pack => No
2020-02-26 16:59martinsdanIssue Monitored: martinsdan

There are no notes attached to this issue.