zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #00115
[Bug 404947] Re: Error in FindEvents with "mostused"
** Changed in: zeitgeist
Milestone: 0.3 => 0.2.1
** Description changed:
- >>> [str(x["text"]) for x in iface.FindEvents(0, 0, 4, True, 'mostused', [])]
+ >>> [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']
- >>> [str(x["text"]) for x in iface.FindEvents(0, 0, 4, False, 'mostused', [])]
+ >>> [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).
--
Sorting preference ignored in FindEvents with "mostused" and in FindApplications
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: In Progress
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