[Mpuls-commits] r654 - in wasko/branches/1.0: . waskaweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Oct 23 10:36:52 CEST 2009
Author: torsten
Date: 2009-10-23 10:36:50 +0200 (Fri, 23 Oct 2009)
New Revision: 654
Modified:
wasko/branches/1.0/ChangeLog.txt
wasko/branches/1.0/waskaweb/controllers/evaluate.py
Log:
Fixed getting default date fields
Modified: wasko/branches/1.0/ChangeLog.txt
===================================================================
--- wasko/branches/1.0/ChangeLog.txt 2009-10-23 05:27:47 UTC (rev 653)
+++ wasko/branches/1.0/ChangeLog.txt 2009-10-23 08:36:50 UTC (rev 654)
@@ -5,6 +5,10 @@
* waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Set version
* Changes.txt: Updated Changes
+ Fixed getting default datefields
+
+ * controllers/evaluate.py: Wrong key
+
2009-10-19 Torsten Irlaender <torsten.irlaender at intevation.de>
Fixed Typo
Modified: wasko/branches/1.0/waskaweb/controllers/evaluate.py
===================================================================
--- wasko/branches/1.0/waskaweb/controllers/evaluate.py 2009-10-23 05:27:47 UTC (rev 653)
+++ wasko/branches/1.0/waskaweb/controllers/evaluate.py 2009-10-23 08:36:50 UTC (rev 654)
@@ -158,8 +158,8 @@
params['start_date_field'] = g.mpuls_config.get('agency-fields-mapping', 'date_phase%s_start' % min(all_phases))
params['end_date_field'] = g.mpuls_config.get('agency-fields-mapping', 'date_phase%s_start' % max(all_phases))
else:
- params['start_date_field'] = g.mpuls_config.get('evaloptions', 'default-start-date-field')
- params['end_date_field'] = g.mpuls_config.get('evaloptions', 'default-end-date-field')
+ params['start_date_field'] = g.mpuls_config.get('evaluations', 'default-start-date-field')
+ params['end_date_field'] = g.mpuls_config.get('evaluations', 'default-end-date-field')
return params
More information about the Mpuls-commits
mailing list