[Mpuls-commits] r4001 - in base/trunk: . mpulsweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Oct 20 20:21:43 CEST 2010
Author: bh
Date: 2010-10-20 20:21:42 +0200 (Wed, 20 Oct 2010)
New Revision: 4001
Modified:
base/trunk/ChangeLog
base/trunk/mpulsweb/model/case.py
Log:
* mpulsweb/model/case.py (MpulsCaseBundle._exportCSV): Add
selection parameter. Now exporting as CSV should work if it's
enabled in the application.
The is the base part of mpuls/issue1048
Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog 2010-10-20 18:13:16 UTC (rev 4000)
+++ base/trunk/ChangeLog 2010-10-20 18:21:42 UTC (rev 4001)
@@ -1,5 +1,12 @@
2010-10-20 Bernhard Herzog <bh at intevation.de>
+ * mpulsweb/model/case.py (MpulsCaseBundle._exportCSV): Add
+ selection parameter. Now exporting as CSV should work if it's
+ enabled in the application.
+ The is the base part of mpuls/issue1048
+
+2010-10-20 Bernhard Herzog <bh at intevation.de>
+
* mpulsweb/lib/export.py (CSVTable, CSVContainer, CSVExport): New.
Classes to implement CSV export.
Modified: base/trunk/mpulsweb/model/case.py
===================================================================
--- base/trunk/mpulsweb/model/case.py 2010-10-20 18:13:16 UTC (rev 4000)
+++ base/trunk/mpulsweb/model/case.py 2010-10-20 18:21:42 UTC (rev 4001)
@@ -448,8 +448,8 @@
def _exportXLS(self, tree, selection):
return XLSExport(tree, selection).export()
-
- def _exportCSV(self, tree):
+
+ def _exportCSV(self, tree, selection):
return CSVExport(tree, selection).export()
More information about the Mpuls-commits
mailing list