[Mpuls-commits] r5423 - base/trunk/mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Oct 7 18:13:11 CEST 2011


Author: bh
Date: 2011-10-07 18:13:11 +0200 (Fri, 07 Oct 2011)
New Revision: 5423

Modified:
   base/trunk/mpulsweb/controllers/evaluation_overview.py
Log:
Use correct search object when validating evaluation overview parameters.
The correct one obviously is g.eval_search. With g.case_search the
search by federal state does not work.


Modified: base/trunk/mpulsweb/controllers/evaluation_overview.py
===================================================================
--- base/trunk/mpulsweb/controllers/evaluation_overview.py	2011-10-07 10:59:23 UTC (rev 5422)
+++ base/trunk/mpulsweb/controllers/evaluation_overview.py	2011-10-07 16:13:11 UTC (rev 5423)
@@ -143,7 +143,7 @@
         c.form_result = {}
         c.form_errors = {}
         try:
-            c.form_result = g.case_search.validate_form_params(request.params)
+            c.form_result = g.eval_search.validate_form_params(request.params)
         except formencode.Invalid, error:
             log.exception("search: formencode error %s" % error)
             c.form_result = error.value



More information about the Mpuls-commits mailing list