[Mpuls-commits] r4833 - in base/trunk: . mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Mar 30 14:31:46 CEST 2011


Author: torsten
Date: 2011-03-30 14:31:46 +0200 (Wed, 30 Mar 2011)
New Revision: 4833

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/controllers/case_overview.py
Log:
Fixed filtering of evaluation action in case search was done with search criteria for editors.


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2011-03-30 11:30:32 UTC (rev 4832)
+++ base/trunk/ChangeLog	2011-03-30 12:31:46 UTC (rev 4833)
@@ -1,3 +1,10 @@
+2011-03-30  Torsten Irlaender <torsten at intevation.de>
+
+	* mpulsweb/controllers/case_overview.py
+	(CaseOverviewController._renderOverview): Fixed filtering of
+	evaluation action in case search was done with search criteria fpr
+	editors.
+
 2011-03-30  Ludwig Reiter <ludwig.reiter at intevation.de>
 
 	* mpulsweb/i18n/mpulsweb.pot

Modified: base/trunk/mpulsweb/controllers/case_overview.py
===================================================================
--- base/trunk/mpulsweb/controllers/case_overview.py	2011-03-30 11:30:32 UTC (rev 4832)
+++ base/trunk/mpulsweb/controllers/case_overview.py	2011-03-30 12:31:46 UTC (rev 4833)
@@ -131,7 +131,7 @@
 
         # Hide evaluation option if someone did a search for a particular editor
         c.hide_evaluation = False
-        if "editor" in form_defaults:
+        if form_defaults.get('editor') != -1:
             c.hide_evaluation = True
 
         form_defaults["id_field"] = "m.id"



More information about the Mpuls-commits mailing list