[Mpuls-commits] r3484 - in waska/trunk: . waskaweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Aug 30 15:46:53 CEST 2010
Author: bh
Date: 2010-08-30 15:46:50 +0200 (Mon, 30 Aug 2010)
New Revision: 3484
Modified:
waska/trunk/ChangeLog
waska/trunk/waskaweb/lib/search.py
Log:
* waskaweb/lib/search.py (CaseSearch.get_gender_clause): Adapt to
base class changes: Remove search parameter.
Modified: waska/trunk/ChangeLog
===================================================================
--- waska/trunk/ChangeLog 2010-08-30 13:46:43 UTC (rev 3483)
+++ waska/trunk/ChangeLog 2010-08-30 13:46:50 UTC (rev 3484)
@@ -1,3 +1,8 @@
+2010-08-30 Bernhard Herzog <bh at intevation.de>
+
+ * waskaweb/lib/search.py (CaseSearch.get_gender_clause): Adapt to
+ base class changes: Remove search parameter.
+
2010-08-27 Bernhard Herzog <bh at intevation.de>
* waskaweb/lib/app_globals.py: Removed. The base version includes
Modified: waska/trunk/waskaweb/lib/search.py
===================================================================
--- waska/trunk/waskaweb/lib/search.py 2010-08-30 13:46:43 UTC (rev 3483)
+++ waska/trunk/waskaweb/lib/search.py 2010-08-30 13:46:50 UTC (rev 3484)
@@ -40,7 +40,7 @@
VALID_OPTIONS = (CaseBaseSearch.VALID_OPTIONS
+ ("gender",))
- def get_gender_clause(self, search, options):
+ def get_gender_clause(self, options):
gender = options.get("gender")
if gender is not None:
return "m.geschlecht = %s" % gender
More information about the Mpuls-commits
mailing list