Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025042Openbravo ERPA. Platformpublic2013-10-29 13:162013-10-30 20:47
marvintm 
marvintm 
normalminorhave not tried
closedfixed 
5
 
3.0MP29 
AugustoMauch
Core
No
0025042: It would be nice to be able to add a filter criteria when navigating to a tab
Currently the openDirectTab function allows a developer to force a navigation to a tab, optionally filtering by a specific record. It would be nice to improve this functionality to set a criteria in the tab, which could allow more powerful filtering.

This can also be used when a Process Definition returns to go to a tab, and automatically filter by a complex criteria, instead of just filtering by a specific id.
This could be used when developing an Action Handler for a Process Definition, to be able to navigate to a tab and then filter by a complex criteria.
No tags attached.
Issue History
2013-10-29 13:16marvintmNew Issue
2013-10-29 13:16marvintmAssigned To => marvintm
2013-10-29 13:16marvintmModules => Core
2013-10-29 13:16marvintmTriggers an Emergency Pack => No
2013-10-29 13:17hgbotCheckin
2013-10-29 13:17hgbotNote Added: 0061937
2013-10-29 13:17hgbotStatusnew => resolved
2013-10-29 13:17hgbotResolutionopen => fixed
2013-10-29 13:17hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3442bdde9613213bb77ef2286de9b923126070ba [^]
2013-10-29 13:49AugustoMauchNote Added: 0061939
2013-10-29 15:12AugustoMauchReview Assigned To => AugustoMauch
2013-10-29 15:12AugustoMauchNote Added: 0061940
2013-10-29 15:12AugustoMauchStatusresolved => closed
2013-10-29 15:12AugustoMauchFixed in Version => 3.0MP29
2013-10-30 20:47hudsonbotCheckin
2013-10-30 20:47hudsonbotNote Added: 0061983

Notes
(0061937)
hgbot   
2013-10-29 13:17   
Repository: erp/devel/pi
Changeset: 3442bdde9613213bb77ef2286de9b923126070ba
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Oct 29 13:16:48 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/3442bdde9613213bb77ef2286de9b923126070ba [^]

Fixed issue 25042. Added the capability to add a criteria when navigating to a tab.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities-action-def.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
---
(0061939)
AugustoMauch   
2013-10-29 13:49   
If in a call to openDirectTab there is a criteria defined both in the criteria param and in the urlParams, the criteria param will take precedence.
(0061940)
AugustoMauch   
2013-10-29 15:12   
Code reviewed and verified in pi@67e80e28874b
(0061983)
hudsonbot   
2013-10-30 20:47   
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/80f375c041fe [^]

Maturity status: Test