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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Aug 3 09:44:21 CEST 2011


Author: torsten
Date: 2011-08-03 09:44:20 +0200 (Wed, 03 Aug 2011)
New Revision: 5219

Modified:
   base/trunk/mpulsweb/lib/validators.py
Log:
Spalte den Search-Validator es gibt nun zwei Validatoren. Einer f?\195?\188r die
normale Suche und einer f?\195?\188r die Suche auf dem Auswertungsserver. Der
paramenter "federal_state" ist derzeit nur f?\195?\188r die Suche in einem
Auswertungsserver g?\195?\188ltig.


Modified: base/trunk/mpulsweb/lib/validators.py
===================================================================
--- base/trunk/mpulsweb/lib/validators.py	2011-08-03 07:22:12 UTC (rev 5218)
+++ base/trunk/mpulsweb/lib/validators.py	2011-08-03 07:44:20 UTC (rev 5219)
@@ -679,17 +679,18 @@
 
 
 class SearchCaseForm(BaseFormValidator):
-
     state = ForEach(Int(), convert_to_list=True)
     own = Int(if_missing=0)
     standin = Int(if_missing=0)
     editor = Int(if_missing=-1)
     phase = ForEach(Int(), convert_to_list=True)
-    federal_state = ForEach(Int(), convert_to_list=True)
     sdate = DateCheck()
     edate = DateCheck()
     gender = Int(if_missing=-2)
 
+class EvaluationSearchCaseForm(SearchCaseForm):
+    federal_state = ForEach(Int(), convert_to_list=True)
+
 class BundleActionForm(BaseFormValidator):
 
     filter_extra_fields = True



More information about the Mpuls-commits mailing list