[Mpuls-commits] r154 - waska/trunk/waskaweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Sep 12 12:19:31 CEST 2008
Author: torsten
Date: 2008-09-12 12:19:30 +0200 (Fri, 12 Sep 2008)
New Revision: 154
Modified:
waska/trunk/waskaweb/controllers/case_overview.py
Log:
Fixed search query
Modified: waska/trunk/waskaweb/controllers/case_overview.py
===================================================================
--- waska/trunk/waskaweb/controllers/case_overview.py 2008-09-12 10:11:28 UTC (rev 153)
+++ waska/trunk/waskaweb/controllers/case_overview.py 2008-09-12 10:19:30 UTC (rev 154)
@@ -308,7 +308,7 @@
for k,v in build_inconsistency_type_querys().iteritems():
# igonore checks on phases for old cases
if rexpr_phases.match(k):
- s = "state:1;state:2;own:%s;interval_start_date:'2008-09-01';interval_end_date:'2011-09-01';inconsistency:%s" % (user.id, k)
+ s = "state:1;state:2;own:%s;only_cases_after:'2008-09-01';inconsistency:%s" % (user.id, k)
else:
s = 'state:1;state:2;state:4;state:5;own:%s;inconsistency:%s' % (user.id, k)
l = CaseOverview().search(s)
More information about the Mpuls-commits
mailing list