Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0050459Openbravo ERPA. Platformpublic2022-10-10 08:482024-01-08 11:40
caristu 
gdagnesses 
immediateminoralways
closedduplicate 
5
 
 
Core
Production - Confirmed Stable
2022-03-15
PR22Q2
https://gitlab.com/openbravo/product/openbravo/-/commit/e7487ed9e5b52d1c32013d2ca0c4bd9a16307bbd [^]
No
0050459: Cannot filter P&E grids by a field in descending criteria
Cannot filter P&E grids by a field in descending criteria
1- Go to the [Discounts and Promotions] window
2- Click on the "Add Products" button
3- Sort descending by any field, for example by "Search Key": note that the sorting is not correct
This code here[1] does not take into account that when sorting descending the field name starts with "-". So it is not getting the field name correctly in that case and wrongly removes the sort by criteria.

[1] https://gitlab.com/openbravo/product/openbravo/-/commit/e7487ed9e5b52d1c32013d2ca0c4bd9a16307bbd [^]
No tags attached.
duplicate of defect 0054091 closed Triage Platform Base Openbravo ERP "Payment Out" window - Cannot sort columns by descending order 
caused by defect 0048357 closed AugustoMauch Retail Modules The sorting configuration of "Add product categories" popup in "discounts and promotions" doesn't work as expected - new fix 
related to defect 0050431 closed caristu Openbravo ERP Non deterministic sorting in product characteristic fields for values with the same sequence number 
Issue History
2022-10-10 08:48caristuNew Issue
2022-10-10 08:48caristuAssigned To => caristu
2022-10-10 08:48caristuRegression date => 2022-03-15
2022-10-10 08:48caristuRegression introduced by commit => https://gitlab.com/openbravo/product/openbravo/-/commit/e7487ed9e5b52d1c32013d2ca0c4bd9a16307bbd [^]
2022-10-10 08:48caristuTriggers an Emergency Pack => No
2022-10-10 08:48caristuIssue generated from0048357
2022-10-10 08:48caristuRelationship addedcaused by 0048357
2022-10-10 08:49caristuProjectRetail Modules => Openbravo ERP
2022-10-10 08:49caristuModules => Core
2022-10-10 08:49caristuCategoryDiscounts and Promotions => A. Platform
2022-10-10 08:49caristuRelationship addedrelated to 0050431
2022-10-10 08:53caristuRegression level => Production - Confirmed Stable
2022-10-10 08:53caristuRegression introduced in release => PR22Q2
2022-10-10 08:53caristuSeverityminor => major
2022-10-10 09:20caristuSeveritymajor => minor
2022-10-10 09:42caristuSummarySort by criteria is wrongly removed from P&E grids when sorting descending => Cannot filter P&E grids by a field in descending criteria
2022-10-10 09:42caristuDescription Updatedbug_revision_view_page.php?rev_id=24854#r24854
2022-10-10 09:42caristuProposed Solution updated
2022-10-10 09:42caristuAssigned Tocaristu => Triage Platform Base
2022-10-10 09:57hgbotNote Added: 0141880
2023-01-11 16:18AugustoMauchAssigned ToTriage Platform Base => gdagnesses
2023-01-11 16:18AugustoMauchStatusnew => scheduled
2024-01-04 04:13AtulOpenbravoRelationship addedrelated to 0054091
2024-01-08 11:27AugustoMauchRelationship replacedduplicate of 0054091
2024-01-08 11:27AugustoMauchStatusscheduled => closed
2024-01-08 11:27AugustoMauchResolutionopen => duplicate
2024-01-08 11:40hgbotNote Added: 0158930

Notes
(0141880)
hgbot   
2022-10-10 09:57   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/730 [^]
(0158930)
hgbot   
2024-01-08 11:40   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/730 [^]