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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Dec 29 14:58:38 CET 2010


Author: torsten
Date: 2010-12-29 14:58:37 +0100 (Wed, 29 Dec 2010)
New Revision: 4467

Modified:
   base/trunk/mpulsweb/lib/validators.py
Log:
* mpulsweb/lib/validators.py: Added paramenter sql_where to validator


Modified: base/trunk/mpulsweb/lib/validators.py
===================================================================
--- base/trunk/mpulsweb/lib/validators.py	2010-12-29 13:57:49 UTC (rev 4466)
+++ base/trunk/mpulsweb/lib/validators.py	2010-12-29 13:58:37 UTC (rev 4467)
@@ -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)
+    sql_where = String(if_missing=None)
     id_field = String(if_missing=None)
     selected_ids = Wrapper(to_python=lambda s: [int(item)
                                                 for item in s.split()],
@@ -703,6 +704,7 @@
                         'evaluate']))
     case_id = ForEach(Int(), convert_to_list=True)
     id_field = String(if_missing=None)
+    sql_where = 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