[Mpuls-commits] r5272 - waska/branches/waska3/waskaweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Aug 30 09:42:48 CEST 2011
Author: torsten
Date: 2011-08-30 09:42:48 +0200 (Tue, 30 Aug 2011)
New Revision: 5272
Modified:
waska/branches/waska3/waskaweb/lib/search.py
Log:
?\195?\156berarbeite Vererbung der Mixin-Klasse, so das die Suche nach der Art der
Beendigung f?\195?\188r die normale Fallaktensuche funktioniert.
Modified: waska/branches/waska3/waskaweb/lib/search.py
===================================================================
--- waska/branches/waska3/waskaweb/lib/search.py 2011-08-30 07:32:03 UTC (rev 5271)
+++ waska/branches/waska3/waskaweb/lib/search.py 2011-08-30 07:42:48 UTC (rev 5272)
@@ -41,6 +41,10 @@
class AppMixin(AppBaseMixin):
+ pass
+
+class CaseSearch(CaseBaseSearch, AppMixin):
+
VALID_OPTIONS = (CaseBaseSearch.VALID_OPTIONS
+ ("gender", "type_ending"))
MULTI_OPTIONS = (CaseBaseSearch.MULTI_OPTIONS
@@ -77,7 +81,7 @@
case will be found.
"""
return self.generic_int_choice_clause(options, "type_ending",
- "m.art_beendigung")
+ "m.cm_beendigung_art")
def get_gender_clause(self, options):
gender = options.get("gender")
@@ -90,10 +94,7 @@
self.get_ending_clause(options),
]
-class CaseSearch(CaseBaseSearch, AppMixin):
- pass
-
class EvaluationSearch(EvaluationBaseSearch, AppMixin):
pass
More information about the Mpuls-commits
mailing list