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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Oct 20 15:03:24 CEST 2011


Author: ludwig
Date: 2011-10-20 15:03:17 +0200 (Thu, 20 Oct 2011)
New Revision: 5485

Modified:
   base/trunk/mpulsweb/controllers/case_bundle.py
Log:
Issue 1183: Admins can now delete anonymized (state 5) cases in the overview.


Modified: base/trunk/mpulsweb/controllers/case_bundle.py
===================================================================
--- base/trunk/mpulsweb/controllers/case_bundle.py	2011-10-20 10:32:59 UTC (rev 5484)
+++ base/trunk/mpulsweb/controllers/case_bundle.py	2011-10-20 13:03:17 UTC (rev 5485)
@@ -62,7 +62,7 @@
             if action == 'delete':
                 # Fiter out case which are not marked for deletion
                 case_bundle = self._filterBundle(case_bundle,
-                                                 allowedstates=(3,))
+                                                 allowedstates=(3, 5))
                 if case_bundle.isEmpty():
                     return self._empty_caselist()
                 session['casebundle'] = case_bundle



More information about the Mpuls-commits mailing list