Sorting preference ignored in FindEvents with "mostused"

Bug #404947 reported by Siegfried Gevatter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Fix Released
Medium
Siegfried Gevatter

Bug Description

>>> [unicode(x["text"]) for x in iface.FindEvents(0, 0, 4, True, 'mostused', [])]
["Gmail - Safata d'entrada - <email address hidden>", "Gmail - Safata d'entrada (5) - <email address hidden>", "Gmail - Safata d'entrada (2) - <email address hidden>", 'REVU - New Packages']
>>> [unicode(x["text"]) for x in iface.FindEvents(0, 0, 4, False, 'mostused', [])]
["Gmail - Safata d'entrada - <email address hidden>", "Gmail - Safata d'entrada (5) - <email address hidden>", "Gmail - Safata d'entrada (2) - <email address hidden>", '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).

Changed in zeitgeist:
importance: Undecided → Medium
milestone: none → 0.3
Changed in zeitgeist:
milestone: 0.3 → 0.2.1
description: updated
summary: - Error in FindEvents with "mostused"
+ Sorting preference ignored in FindEvents with "mostused" and in
+ FindApplications
Changed in zeitgeist:
assignee: nobody → Siegfried Gevatter (rainct)
status: New → In Progress
summary: - Sorting preference ignored in FindEvents with "mostused" and in
- FindApplications
+ Sorting preference ignored in FindEvents with "mostused"
Changed in zeitgeist:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.