details: https://code.openbravo.com/erp/devel/pi/rev/fe9797a7d6cd
changeset: 22337:fe9797a7d6cd
user: Asier Lostalé <asier.lostale <at> openbravo.com>
date: Tue Mar 04 08:42:24 2014 +0100
summary: fixed bug 25883: can't clear filter in P&E grid
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
| 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r 77cbc3497ee0 -r fe9797a7d6cd
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
Tue Mar 04 08:02:13 2014 +0100
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
Tue Mar 04 08:42:24 2014 +0100
@@ -328,7 +328,15 @@
if (this._cleaningFilter) {
// Always refresh when cleaning the filter
+ if (!criteria) {
+ criteria = {
+ _constructor: 'AdvancedCriteria',
+ operator: 'and',
+ criteria: []
+ };
+ }
criteria.criteria.push(isc.OBRestDataSource.getDummyCriterion());
+ crit = criteria;
}
this.Super('handleFilterEditorSubmit', [crit, context]);
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits