mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Sort archived messages on top when viewing the archive folder
This commit is contained in:
parent
fda266da4a
commit
436dd06d08
1 changed files with 2 additions and 1 deletions
|
@ -236,7 +236,8 @@ public interface DaoMessage {
|
||||||
" WHEN folder.type = '" + EntityFolder.JUNK + "' THEN 6" +
|
" WHEN folder.type = '" + EntityFolder.JUNK + "' THEN 6" +
|
||||||
" WHEN folder.type = '" + EntityFolder.SYSTEM + "' THEN 7" +
|
" WHEN folder.type = '" + EntityFolder.SYSTEM + "' THEN 7" +
|
||||||
" WHEN folder.type = '" + EntityFolder.USER + "' THEN 8" +
|
" WHEN folder.type = '" + EntityFolder.USER + "' THEN 8" +
|
||||||
" WHEN folder.type = '" + EntityFolder.ARCHIVE + "' THEN 9" +
|
" WHEN folder.type = '" + EntityFolder.ARCHIVE + "' THEN" +
|
||||||
|
" CASE WHEN :filter_archive THEN 9 ELSE 0 END" +
|
||||||
" ELSE 999 END")
|
" ELSE 999 END")
|
||||||
// The folder type sort order should match the duplicate algorithm
|
// The folder type sort order should match the duplicate algorithm
|
||||||
DataSource.Factory<Integer, TupleMessageEx> pagedThread(
|
DataSource.Factory<Integer, TupleMessageEx> pagedThread(
|
||||||
|
|
Loading…
Reference in a new issue