changeset 154:2429e9db4f34

Fix activity view.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 26 Oct 2011 20:13:12 +0200
parents 49ae14f1eaef
children 498ed3c29a0a
files src/ltpdarepo/views/browse.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ltpdarepo/views/browse.py	Tue Oct 25 23:00:17 2011 +0200
+++ b/src/ltpdarepo/views/browse.py	Wed Oct 26 20:13:12 2011 +0200
@@ -605,7 +605,7 @@
 
         # collect number of objects for each interval
         curs.execute("""SELECT ts.begin AS date, COUNT(objmeta.obj_id) AS count
-                        FROM ltpda.timeintervals AS ts
+                        FROM timeintervals AS ts
                         LEFT OUTER JOIN `%s`.objmeta ON (objmeta.submitted BETWEEN ts.begin AND ts.end)
                         GROUP BY ts.begin, ts.end""" % database)