Fix sorting of threaded messages.
This commit is contained in:
parent
1ab04587a9
commit
6d1f96966a
1 changed files with 1 additions and 2 deletions
|
@ -418,8 +418,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 a new issue