Public bug reported:

>>> [str(x["text"]) for x in iface.FindEvents(0, 0, 4, True, 'mostused', [])]
["Gmail - Safata d'entrada - siggi.gevat...@gmail.com", "Gmail - Safata 
d'entrada (5) - siggi.gevat...@gmail.com", "Gmail - Safata d'entrada (2) - 
siggi.gevat...@gmail.com", 'REVU - New Packages']
>>> [str(x["text"]) for x in iface.FindEvents(0, 0, 4, False, 'mostused', [])]
["Gmail - Safata d'entrada - siggi.gevat...@gmail.com", "Gmail - Safata 
d'entrada (5) - siggi.gevat...@gmail.com", "Gmail - Safata d'entrada (2) - 
siggi.gevat...@gmail.com", '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).

** Affects: zeitgeist
     Importance: Medium
         Status: New

** Changed in: zeitgeist
   Importance: Undecided => Medium

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

-- 
Error 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: New

Bug description:
>>> [str(x["text"]) for x in iface.FindEvents(0, 0, 4, True, 'mostused', [])]
["Gmail - Safata d'entrada - siggi.gevat...@gmail.com", "Gmail - Safata 
d'entrada (5) - siggi.gevat...@gmail.com", "Gmail - Safata d'entrada (2) - 
siggi.gevat...@gmail.com", 'REVU - New Packages']
>>> [str(x["text"]) for x in iface.FindEvents(0, 0, 4, False, 'mostused', [])]
["Gmail - Safata d'entrada - siggi.gevat...@gmail.com", "Gmail - Safata 
d'entrada (5) - siggi.gevat...@gmail.com", "Gmail - Safata d'entrada (2) - 
siggi.gevat...@gmail.com", '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).

_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to