details: https://code.openbravo.com/erp/devel/pi/rev/8b7b533e0855
changeset: 14043:8b7b533e0855
user: Antonio Moreno <antonio.moreno <at> openbravo.com>
date: Fri Oct 21 13:28:37 2011 +0200
summary: Fixed issue 18601. All types of filters will now work with export to
CSV
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
| 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r e996b0a6cac7 -r 8b7b533e0855
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
Fri Oct 21 12:02:09 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
Fri Oct 21 13:28:37 2011 +0200
@@ -528,6 +528,10 @@
exportData: function(exportProperties, data){
var d = data || {}, expProp = exportProperties || {}, dsURL =
this.dataSource.dataURL;
var sortCriteria;
+ var lcriteria = this.getCriteria();
+ if(this.getData() && this.getData().dataSource){
+ lcriteria = this.getData().dataSource.convertRelativeDates(lcriteria);
+ }
isc.addProperties(d, {
_dataSource: this.dataSource.ID,
@@ -538,7 +542,7 @@
tab: expProp.tab,
exportToFile: true,
_textMatchStyle: 'substring'
- }, this.getCriteria(), this.getFetchRequestParams());
+ }, lcriteria, this.getFetchRequestParams());
if(this.getSortField()){
sortCriteria=this.getSort();
if(sortCriteria && sortCriteria.length > 0){
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits