← Back to team overview

zeitgeist team mailing list archive

[Bug 404947] Re: Sorting preference ignored in FindEvents with "mostused"

 

** Changed in: zeitgeist
       Status: In Progress => Fix Released

-- 
Sorting preference ignored in FindEvents with "mostused"
https://bugs.launchpad.net/bugs/404947
You received this bug notification because you are a member of
Zeitgeist-Engine, which is the registrant for Zeitgeist Engine.

Status in Zeitgeist Engine: Fix Released

Bug description:
>>> [unicode(x["text"]) for x in iface.FindEvents(0, 0, 4, True, 'mostused', [])]
["Gmail - Safata d'entrada - siggi.gevatter@xxxxxxxxx", "Gmail - Safata d'entrada (5) - siggi.gevatter@xxxxxxxxx", "Gmail - Safata d'entrada (2) - siggi.gevatter@xxxxxxxxx", 'REVU - New Packages']
>>> [unicode(x["text"]) for x in iface.FindEvents(0, 0, 4, False, 'mostused', [])]
["Gmail - Safata d'entrada - siggi.gevatter@xxxxxxxxx", "Gmail - Safata d'entrada (5) - siggi.gevatter@xxxxxxxxx", "Gmail - Safata d'entrada (2) - siggi.gevatter@xxxxxxxxx", 'REVU - New Packages']

Both those requests return the same result, while the first one should returns the 4 least used documents (because of the sorting_asc=True).



References