Correctly order search results; fix #7068

This commit is contained in:
Charles Lindsay 2013-06-10 18:09:07 -07:00
parent a77874620e
commit 2d2cf74300

View file

@ -239,7 +239,7 @@ public class Geary.SearchFolder : Geary.AbstractLocalFolder {
// Destroys existing results.
private void clear_search_results() {
search_results = new Gee.TreeSet<Geary.Email>(Geary.Email.compare_date_received_ascending);
search_results = new Gee.TreeSet<Geary.Email>(Geary.Email.compare_date_received_descending);
}
// Converts a collection of emails to a set of email ids.