[Mpuls-commits] r1982 - wasko/branches/2.0/mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Mar 17 10:23:28 CET 2010


Author: torsten
Date: 2010-03-17 10:23:28 +0100 (Wed, 17 Mar 2010)
New Revision: 1982

Modified:
   wasko/branches/2.0/mpulsweb/lib/validators.py
Log:
* mpulsweb/lib/validators.py (SearchCaseForm): Added new options to check


Modified: wasko/branches/2.0/mpulsweb/lib/validators.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/validators.py	2010-03-17 09:22:05 UTC (rev 1981)
+++ wasko/branches/2.0/mpulsweb/lib/validators.py	2010-03-17 09:23:28 UTC (rev 1982)
@@ -550,6 +550,11 @@
     show_percent = Bool(if_missing=False)
 
 class SearchCaseForm(BaseFormValidator):
+    state  = ForEach(Int(), convert_to_list=True)
+    own    = Int(if_missing=0)
+    standin = Int(if_missing=0)
+    phase = ForEach(Int(), convert_to_list=True)
+
     gender = Int(if_missing='-2')
     cm_state = Int(if_missing=None)
 



More information about the Mpuls-commits mailing list