mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 00:58:50 -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)) {
|
if (!StringUtils.isNullOrEmpty(sortOrder)) {
|
||||||
query.append(" ORDER BY ");
|
query.append(" ORDER BY ");
|
||||||
query.append(SqlQueryBuilder.addPrefixToSelection(MESSAGES_COLUMNS,
|
query.append(sortOrder);
|
||||||
"u.", sortOrder));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// We need the selection arguments twice. Once for each sub query.
|
// We need the selection arguments twice. Once for each sub query.
|
||||||
|
Loading…
Reference in New Issue
Block a user