[Mpuls-commits] r3448 - in base/trunk: . mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Aug 25 15:48:12 CEST 2010
Author: bh
Date: 2010-08-25 15:48:09 +0200 (Wed, 25 Aug 2010)
New Revision: 3448
Modified:
base/trunk/ChangeLog
base/trunk/mpulsweb/lib/search.py
Log:
* mpulsweb/lib/search.py (CaseSearch.get_gender_clause): Add
missing search parameter which is needed now that all *_clause
functions take the same parameters.
Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog 2010-08-25 09:54:01 UTC (rev 3447)
+++ base/trunk/ChangeLog 2010-08-25 13:48:09 UTC (rev 3448)
@@ -1,3 +1,9 @@
+2010-08-25 Bernhard Herzog <bh at intevation.de>
+
+ * mpulsweb/lib/search.py (CaseSearch.get_gender_clause): Add
+ missing search parameter which is needed now that all *_clause
+ functions take the same parameters.
+
2010-08-24 Bernhard Herzog <bh at intevation.de>
* mpulsweb/controllers/case_bundle.py (CaseBundleController.markDelete)
Modified: base/trunk/mpulsweb/lib/search.py
===================================================================
--- base/trunk/mpulsweb/lib/search.py 2010-08-25 09:54:01 UTC (rev 3447)
+++ base/trunk/mpulsweb/lib/search.py 2010-08-25 13:48:09 UTC (rev 3448)
@@ -217,7 +217,7 @@
return ("st.status IN (%s)"
% ",".join([str(x) for x in options["states"]]))
- def get_gender_clause(self, options):
+ def get_gender_clause(self, search, options):
"""Return the search condition to select cases based on gender.
The default implementation simply returns 'TRUE'.
More information about the Mpuls-commits
mailing list