[Mpuls-commits] r655 - wasko/branches/tags/1.1.0/waskaweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Oct 23 10:53:09 CEST 2009
Author: torsten
Date: 2009-10-23 10:53:09 +0200 (Fri, 23 Oct 2009)
New Revision: 655
Modified:
wasko/branches/tags/1.1.0/waskaweb/controllers/evaluate.py
Log:
Hotpatch for selecting default dates
Modified: wasko/branches/tags/1.1.0/waskaweb/controllers/evaluate.py
===================================================================
--- wasko/branches/tags/1.1.0/waskaweb/controllers/evaluate.py 2009-10-23 08:36:50 UTC (rev 654)
+++ wasko/branches/tags/1.1.0/waskaweb/controllers/evaluate.py 2009-10-23 08:53:09 UTC (rev 655)
@@ -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