1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Fix sorting of threaded messages.

This commit is contained in:
Danny Baumann 2013-02-01 09:50:52 +01:00
parent 1ab04587a9
commit 6d1f96966a

View File

@ -418,8 +418,7 @@ public class EmailProvider extends ContentProvider {
if (!StringUtils.isNullOrEmpty(sortOrder)) {
query.append(" ORDER BY ");
query.append(SqlQueryBuilder.addPrefixToSelection(MESSAGES_COLUMNS,
"u.", sortOrder));
query.append(sortOrder);
}
// We need the selection arguments twice. Once for each sub query.