← Back to team overview

zeitgeist team mailing list archive

[Bug 683146] Re: fix for LP: #672965 breaks returns for AJ and Synapse

 

** Changed in: zeitgeist
    Milestone: None => 0.7.0

-- 
fix for LP: #672965 breaks returns for AJ and Synapse
https://bugs.launchpad.net/bugs/683146
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: Fix Committed

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