Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035464Openbravo ERPA. Platformpublic2017-03-03 11:392017-03-10 14:40
JONHM 
inigosanchez 
normalminorsometimes
closedfixed 
5
 
3.0PR17Q13.0PR17Q1 
caristu
Core
Production - Confirmed Stable
3.0PR16Q1.3
https://code.openbravo.com/erp/devel/pi/rev/92802596bf940d3c62c8e84547ea21e78055c0fc [^]
No
0035464: 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.0PR17Q1
2017-03-10 10:07inigosanchezReview Assigned To => caristu
2017-03-10 10:24hgbotCheckin
2017-03-10 10:24hgbotNote Added: 0094900
2017-03-10 10:24hgbotStatusscheduled => resolved
2017-03-10 10:24hgbotResolutionopen => fixed
2017-03-10 10:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR17Q1/rev/bdbad01cbc4f96c5dc953663ecc397cb6da27388 [^]
2017-03-10 14:40caristuNote Added: 0094923
2017-03-10 14:40caristuStatusresolved => closed
2017-03-10 14:40caristuFixed in Version => 3.0PR17Q1

Notes
(0094900)
hgbot   
2017-03-10 10:24   
Repository: erp/backports/3.0PR17Q1
Changeset: bdbad01cbc4f96c5dc953663ecc397cb6da27388
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Fri Mar 10 10:24:11 2017 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR17Q1/rev/bdbad01cbc4f96c5dc953663ecc397cb6da27388 [^]

Fixed issue 35464: 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
---
(0094923)
caristu   
2017-03-10 14:40   
Code review + tested OK.

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