zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #02796
[Bug 683146] Re: fix for LP: #672965 breaks returns for AJ and Synapse
** Changed in: zeitgeist
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/683146
Title:
fix for LP: #672965 breaks returns for AJ and Synapse
Status in Zeitgeist Framework:
Fix Released
Bug description:
running revision 1639+ breaks returns for find_events when called from AJ and Synapse.
I always get:
DEBUG:zeitgeist.engine:Found 0 events IDs in 0.007377s
This can be fixed by just making the queries to use the index.
So just remove the + from infront of the timestamp
---
if min_time != 0:
where.add("+timestamp >= ?", min_time)
if max_time != sys.maxint:
where.add("+timestamp <= ?", max_time)
---
References