Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035465Openbravo ERPA. Platformpublic2017-03-03 11:392017-03-10 14:41
JONHM 
inigosanchez 
normalminorsometimes
closedfixed 
5
 
3.0PR16Q4.43.0PR16Q4.4 
caristu
Core
Production - Confirmed Stable
3.0PR16Q1.3
https://code.openbravo.com/erp/devel/pi/rev/92802596bf940d3c62c8e84547ea21e78055c0fc [^]
No
0035465: Adaptive filtering capability does not work for Table references.
Adaptive filtering capability (filter in client when all data is locally available) does not work for Table references.
As 'F&B International Group Admin' Role:
1) Open [Business Partner] window.
2) Write 'EUR' in Currency column and press enter button or click elsewhere
--> The data is not filtered properly.
3) Click refresh button.
--> The data is filtered properly because in this case adaptive filtering is not used.

Note: On one hand 'Currency' field (Reference Table) is not filtering properly. On the other hand, 'Business Partner Category' field (Reference TableDir) is filtering properly.
No tags attached.
blocks defect 0035426 closed inigosanchez Adaptive filtering capability does not work for Table references. 
Issue History
2017-03-09 12:24inigosanchezTypedefect => backport
2017-03-09 12:24inigosanchezTarget Version => 3.0PR16Q4.4
2017-03-10 12:55inigosanchezReview Assigned To => caristu
2017-03-10 12:55hgbotCheckin
2017-03-10 12:55hgbotNote Added: 0094912
2017-03-10 12:55hgbotStatusscheduled => resolved
2017-03-10 12:55hgbotResolutionopen => fixed
2017-03-10 12:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q4.4/rev/18795ff9a8534d0c0bea7bad04f99c37ea954c14 [^]
2017-03-10 14:41caristuNote Added: 0094924
2017-03-10 14:41caristuStatusresolved => closed
2017-03-10 14:41caristuFixed in Version => 3.0PR16Q4.4

Notes
(0094912)
hgbot   
2017-03-10 12:55   
Repository: erp/backports/3.0PR16Q4.4
Changeset: 18795ff9a8534d0c0bea7bad04f99c37ea954c14
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Fri Mar 10 12:54:59 2017 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR16Q4.4/rev/18795ff9a8534d0c0bea7bad04f99c37ea954c14 [^]

Fixed issue 35465: Adaptive filtering does not work for Table references.

The problem was that adaptive filtering (filter in client when all data is locally available) did
not work for Table references when filtering by text instead of by selecting a value in the drop
down list. The issue that causes this regression was not taking into account adaptive filtering.

This problem has been fixed by taking into account this case in getDisplayProperty method. Now
getDisplayProperty method manages properly when all the data are in the client (Adaptive filtering).

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk-filter.js
---
(0094924)
caristu   
2017-03-10 14:41   
Code review + tested OK.

Filtering by a column based on a Table reference is working both in client and server side.