Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024574Openbravo ERPB. User interfacepublic2013-08-23 14:452014-05-23 07:24
jonalegriaesarte 
shankarb 
normalmajorhave not tried
closedfixed 
5
 
3.0MP273.0MP27 
AugustoMauch
Core
No
0024574: Filter is not working fine in some special cases
Filter is not working fine in some special cases. For example, if the name of two organizations is very similar, it is not working fine.
- Create two organizations: test A and test B A
- Create two business partners, one in each organization

- If the user writes a text in the filter, the system should list all the entries that contains this text. This is working fine.
- If the user selects one organization in the drop down list, the system should list all the entries that belongs to the filter (or filters) selected. This is not working fine.
No tags attached.
related to defect 0026645 closed alostale Tables and Tabledirs are not working in Internet Explorer 7 and 9 
Issue History
2013-08-23 14:45jonalegriaesarteNew Issue
2013-08-23 14:45jonalegriaesarteAssigned To => AugustoMauch
2013-08-23 14:45jonalegriaesarteModules => Core
2013-08-23 14:45jonalegriaesarteTriggers an Emergency Pack => No
2013-08-26 04:34shankarbAssigned ToAugustoMauch => shankarb
2013-08-27 05:19shankarbReview Assigned To => AugustoMauch
2013-08-27 05:19shankarbIssue Monitored: AugustoMauch
2013-08-27 05:20hgbotCheckin
2013-08-27 05:20hgbotNote Added: 0060773
2013-08-27 05:20hgbotStatusnew => resolved
2013-08-27 05:20hgbotResolutionopen => fixed
2013-08-27 05:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b15fbad4f98e3b6b136e6c90198a9297f0db1576 [^]
2013-08-27 09:15AugustoMauchNote Added: 0060779
2013-08-27 09:15AugustoMauchStatusresolved => closed
2013-08-27 09:15AugustoMauchFixed in Version => 3.0MP27
2013-08-29 13:17hudsonbotCheckin
2013-08-29 13:17hudsonbotNote Added: 0060810
2013-08-30 15:00hgbotCheckin
2013-08-30 15:00hgbotNote Added: 0060845
2013-09-02 18:18hudsonbotCheckin
2013-09-02 18:18hudsonbotNote Added: 0060872
2014-05-22 16:47alostaleRelationship addedduplicate of 0026645
2014-05-22 16:47alostaleRelationship replacedrelated to 0026645
2014-05-22 17:10hgbotCheckin
2014-05-22 17:10hgbotNote Added: 0067374
2014-05-23 07:24hudsonbotCheckin
2014-05-23 07:24hudsonbotNote Added: 0067395

Notes
(0060773)
hgbot   
2013-08-27 05:20   
Repository: erp/devel/pi
Changeset: b15fbad4f98e3b6b136e6c90198a9297f0db1576
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Mon Aug 26 17:44:12 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/b15fbad4f98e3b6b136e6c90198a9297f0db1576 [^]

Fixes Issue 0024574: Filter is not working fine in some special cases

When list items are filtered by selecting the option from dropdown, the filter applied is filtering using contains. Hence if the filter is 'test A', 'test B A' will also be shown.
When selecting values, == is appended to each selected item to filter the exact value.
When showing picklist, == is trimmed from value so that the values are selected properly in the dropdown.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list-filter.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
---
(0060779)
AugustoMauch   
2013-08-27 09:15   
Code reviewed and verified in pi@327ce5aac264
(0060810)
hudsonbot   
2013-08-29 13:17   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/0268756c9c4a [^]

Maturity status: Test
(0060845)
hgbot   
2013-08-30 15:00   
Repository: erp/devel/pi
Changeset: 6b80b8d83087d03767b9fa658b2662923e63ed3b
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Fri Aug 30 18:28:25 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/6b80b8d83087d03767b9fa658b2662923e63ed3b [^]

Related to issue 24574 : Prevent incorrect filtering in list and composite identifiers

In case of list reference, the search key is passed instead of name, so the approach to add double equals before prevents filter.
Added check to continue in case of list reference. Similarly in the case the field has multiple identifiers, then the filtering is not done by adding double equals.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list-filter.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
---
(0060872)
hudsonbot   
2013-09-02 18:18   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/58951728ad3a [^]

Maturity status: Test
(0067374)
hgbot   
2014-05-22 17:10   
Repository: erp/devel/pi
Changeset: 1cbe9f023742a2bc78a8b1bac1106106924145b2
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu May 22 16:57:06 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1cbe9f023742a2bc78a8b1bac1106106924145b2 [^]

related to issue 26645, related to issue 24574: clean up

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
---
(0067395)
hudsonbot   
2014-05-23 07:24   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d0b934adf82b [^]
Maturity status: Test