1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-23 16:18:50 -05:00

Merge pull request #242 from maniac103/fix-sort

Fix sorting of threaded messages.
This commit is contained in:
cketti 2013-02-06 08:22:22 -08:00
commit 07490613b6

View File

@ -421,8 +421,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.