mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-24 08:38:51 -05:00
Merge pull request #242 from maniac103/fix-sort
Fix sorting of threaded messages.
This commit is contained in:
commit
07490613b6
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user