From 45a5bf6910db54f358409e7c407b8081cdd711a4 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 16 Feb 2016 17:45:20 +0100 Subject: Added an index for mail sorting by date on folder queries --- common/domain/mail.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'common/domain') diff --git a/common/domain/mail.cpp b/common/domain/mail.cpp index 69c351c..29c72c2 100644 --- a/common/domain/mail.cpp +++ b/common/domain/mail.cpp @@ -51,6 +51,7 @@ static TypeIndex &getIndex() index->addProperty("subject"); index->addProperty("date"); index->addProperty("folder"); + index->addPropertyWithSorting("folder", "date"); } return *index; } -- cgit v1.2.3