[Mpuls-commits] r4477 - base/trunk/mpulsweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Jan 7 12:55:20 CET 2011
Author: torsten
Date: 2011-01-07 12:55:20 +0100 (Fri, 07 Jan 2011)
New Revision: 4477
Modified:
base/trunk/mpulsweb/controllers/evaluation_overview.py
Log:
* mpulsweb/controllers/evaluation_overview.py
(EvaluationOverviewController.overview): When building all_ds variable
check if id is not None.
Modified: base/trunk/mpulsweb/controllers/evaluation_overview.py
===================================================================
--- base/trunk/mpulsweb/controllers/evaluation_overview.py 2011-01-07 11:52:34 UTC (rev 4476)
+++ base/trunk/mpulsweb/controllers/evaluation_overview.py 2011-01-07 11:55:20 UTC (rev 4477)
@@ -145,7 +145,7 @@
form_defaults = search_options_copy or request.params.mixed()
form_defaults["id_field"] = "m.fkz::integer"
form_defaults["all_ids"] = " ".join(unicode(case.id)
- for case in c.cases.getDatasets())
+ for case in c.cases.getDatasets() if case.id)
form_defaults["sql_where"] = c.cases.getWhereSQL()
return formencode.htmlfill.render(overview, defaults=form_defaults,
errors=c.form_errors)
More information about the Mpuls-commits
mailing list