[Mpuls-commits] r5207 - base/trunk/mpulsweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Jul 29 11:30:21 CEST 2011
Author: torsten
Date: 2011-07-29 11:30:21 +0200 (Fri, 29 Jul 2011)
New Revision: 5207
Modified:
base/trunk/mpulsweb/model/case.py
Log:
Korrigere Abfrage um komplexere Unterabfragen in f?\195?\188r die Reminder-Conditions
zu erlauben.
Modified: base/trunk/mpulsweb/model/case.py
===================================================================
--- base/trunk/mpulsweb/model/case.py 2011-07-28 10:26:27 UTC (rev 5206)
+++ base/trunk/mpulsweb/model/case.py 2011-07-29 09:30:21 UTC (rev 5207)
@@ -108,7 +108,7 @@
WHERE id IN (SELECT master_id FROM ka_status_tbl_view WHERE id = %(id)s)"""
ANONYMIZE_CASE = """SELECT anonymize_case_wrapper(%(id)s)"""
CHECK_REMIND_CONDITION = """\
-SELECT id FROM master_tbl_view WHERE id = %%(id)s AND (%s)"""
+SELECT id FROM master_tbl_view m WHERE id = %%(id)s AND (%s)"""
def save_getone(params, k, v):
try:
More information about the Mpuls-commits
mailing list