[Mpuls-commits] r4454 - base/trunk/mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Dec 29 12:42:24 CET 2010


Author: torsten
Date: 2010-12-29 12:42:24 +0100 (Wed, 29 Dec 2010)
New Revision: 4454

Modified:
   base/trunk/mpulsweb/lib/validators.py
Log:
* mpulsweb/lib/validators.py(BundleActionForm, SearchCaseForm): Added
	paramenter "id_field"


Modified: base/trunk/mpulsweb/lib/validators.py
===================================================================
--- base/trunk/mpulsweb/lib/validators.py	2010-12-29 11:39:25 UTC (rev 4453)
+++ base/trunk/mpulsweb/lib/validators.py	2010-12-29 11:42:24 UTC (rev 4454)
@@ -670,6 +670,7 @@
     type_ending = ForEach(String(), convert_to_list=True)
     phase = ForEach(String(), convert_to_list=True)
     show_percent = Bool(if_missing=False)
+    id_field = String(if_missing=None)
     selected_ids = Wrapper(to_python=lambda s: [int(item)
                                                 for item in s.split()],
                            if_missing=None)
@@ -701,6 +702,7 @@
                         'exportXML', 'exportCSV', 'exportXLS',
                         'evaluate']))
     case_id = ForEach(Int(), convert_to_list=True)
+    id_field = String(if_missing=None)
     all_ids = Wrapper(to_python=lambda s: [int(item) for item in s.split()])
 
 



More information about the Mpuls-commits mailing list