Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038305Openbravo ERPA. Platformpublic2018-04-09 13:432020-03-05 16:39
Sandrahuguet 
cberner 
normalminorhave not tried
closedfixed 
30Openbravo Appliance 14.04
 
3.0PR20Q23.0PR20Q2 
AugustoMauch
Core
2020-04-01
No
0038305: The order of the combo is wrong using "unfiltered foreign key combo" in grid configuration.
The order of the combo is wrong using "unfiltered foreign key combo" in grid configuration.
Log in the ERP as System Admin
 - Go to grid configuration at window/tab/field level
 - Create a new record to sales order window with defauld values
 - Navigate to field and create new one to Organization field
    * configure with all default values and "unfiltered foreign key combo" to yes
Change to The White Valley Group Admin role
 - Go to sales order window, open the combo and notice that the order is wrong.
   The combo is order by ad_org_id
No tags attached.
has duplicate defect 0042974 closed platform Creating a grid configuration in a combo filter using 'Unfiltered Foreign Key Combo'=Yes the list of values appear not ordered 
related to defect 0038327 acknowledged Triage Platform Base Link to parent tree item ordering changes when a filter is set 
Issue History
2018-04-09 13:43SandrahuguetNew Issue
2018-04-09 13:43SandrahuguetAssigned To => platform
2018-04-09 13:43SandrahuguetModules => Core
2018-04-09 13:43SandrahuguetTriggers an Emergency Pack => No
2018-04-09 15:08shuehnerIssue Monitored: shuehner
2018-04-09 15:09SandrahuguetSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=16965#r16965
2018-04-13 09:40alostaleRelationship addedrelated to 0038327
2018-04-13 09:40alostaleStatusnew => acknowledged
2020-01-23 13:50caristuRelationship addedhas duplicate 0042974
2020-01-28 16:29alostaleRegression date => 2020-04-01
2020-01-28 16:29alostaleTarget Version => 3.0PR20Q2
2020-02-06 16:01cbernerAssigned Toplatform => cberner
2020-02-06 16:01cbernerStatusacknowledged => scheduled
2020-02-06 16:01cbernerReview Assigned To => AugustoMauch
2020-03-05 14:48hgbotCheckin
2020-03-05 14:48hgbotNote Added: 0118345
2020-03-05 14:48hgbotStatusscheduled => resolved
2020-03-05 14:48hgbotResolutionopen => fixed
2020-03-05 14:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bb481c53449fcb497dba9f2b20655523e948d5a9 [^]
2020-03-05 16:39AugustoMauchNote Added: 0118349
2020-03-05 16:39AugustoMauchStatusresolved => closed
2020-03-05 16:39AugustoMauchFixed in Version => 3.0PR20Q2

Notes
(0118345)
hgbot   
2020-03-05 14:48   
Repository: erp/devel/pi
Changeset: bb481c53449fcb497dba9f2b20655523e948d5a9
Author: Cristian Berner <cristian.berner <at> openbravo.com>
Date: Thu Feb 06 15:51:33 2020 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/bb481c53449fcb497dba9f2b20655523e948d5a9 [^]

Fixes ISSUE-38305: Combo is ordered correctly when using unfiltered foreign key

Previously, combos with referenced values in grid weren't sorted correctly by identifier when "Unfiltered foreign key combo" option was set to true in grid configuration. Now the same order by is used as in the filtered combos.

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
---
(0118349)
AugustoMauch   
2020-03-05 16:39   
Code reviewed and verified