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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Mar 17 11:35:52 CET 2010


Author: torsten
Date: 2010-03-17 11:35:48 +0100 (Wed, 17 Mar 2010)
New Revision: 1988

Modified:
   wasko/branches/2.0/mpulsweb/lib/validators.py
Log:
* mpulsweb/lib/validators.py (SearchCaseForm): Convert List elements
to strings.


Modified: wasko/branches/2.0/mpulsweb/lib/validators.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/validators.py	2010-03-17 10:07:08 UTC (rev 1987)
+++ wasko/branches/2.0/mpulsweb/lib/validators.py	2010-03-17 10:35:48 UTC (rev 1988)
@@ -550,10 +550,10 @@
     show_percent = Bool(if_missing=False)
 
 class SearchCaseForm(BaseFormValidator):
-    state  = ForEach(Int(), convert_to_list=True)
+    state  = ForEach(String(), convert_to_list=True)
     own    = Int(if_missing=0)
     standin = Int(if_missing=0)
-    phase = ForEach(Int(), convert_to_list=True)
+    phase = ForEach(String(), convert_to_list=True)
 
     gender = Int(if_missing='-2')
     cm_state = Int(if_missing=None)



More information about the Mpuls-commits mailing list