[Mpuls-commits] r4450 - wasko/trunk/waskoweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Dec 28 16:59:38 CET 2010
Author: torsten
Date: 2010-12-28 16:59:38 +0100 (Tue, 28 Dec 2010)
New Revision: 4450
Modified:
wasko/trunk/waskoweb/lib/search.py
Log:
Added esearch for evaluation
Modified: wasko/trunk/waskoweb/lib/search.py
===================================================================
--- wasko/trunk/waskoweb/lib/search.py 2010-12-28 14:55:37 UTC (rev 4449)
+++ wasko/trunk/waskoweb/lib/search.py 2010-12-28 15:59:38 UTC (rev 4450)
@@ -33,13 +33,13 @@
from formencode.validators import Int
from mpulsweb.lib.search import CaseSearch as CaseBaseSearch
+from mpulsweb.lib.search import EvaluationSearch as EvaluationBaseSearch
+from mpulsweb.lib.search import AppMixin as AppBaseMixin
-
log = logging.getLogger(__name__)
+class AppMixin(AppBaseMixin):
-class CaseSearch(CaseBaseSearch):
-
VALID_OPTIONS = (CaseBaseSearch.VALID_OPTIONS
+ ("gender", "type_ending", "migration"))
MULTI_OPTIONS = (CaseBaseSearch.MULTI_OPTIONS
@@ -125,5 +125,12 @@
self.get_migration_clause(options),
]
+class CaseSearch(CaseBaseSearch):
+ pass
+
+class EvaluationSearch(EvaluationBaseSearch):
+
+ pass
+
# vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8:
More information about the Mpuls-commits
mailing list