Author: justi9
Date: 2008-06-03 10:23:12 -0400 (Tue, 03 Jun 2008)
New Revision: 2114
Modified:
mgmt/cumin/python/cumin/widgets.py
Log:
Don't filter out objects without stats
Modified: mgmt/cumin/python/cumin/widgets.py
===================================================================
--- mgmt/cumin/python/cumin/widgets.py 2008-06-03 02:10:01 UTC (rev 2113)
+++ mgmt/cumin/python/cumin/widgets.py 2008-06-03 14:23:12 UTC (rev 2114)
@@ -370,10 +370,12 @@
phase = self.get(session)
if phase == "a":
- sql = "c.rec_time > now() - interval '10 minutes'"
+ sql = "c.rec_time is null or " + \
+ "c.rec_time > now() - interval '10 minutes'"
elif phase == "i":
- sql = "(c.rec_time <= now() - interval '10 minutes'" +
\
- " and deletion_time is null)"
+ sql = "c.rec_time is null or " + \
+ "((c.rec_time <= now() - interval '10 minutes'" + \
+ " and deletion_time is null))"
else:
sql = "deletion_time is not null"