mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Sort archived messages on top when viewing the archive folder
This commit is contained in:
@@ -236,7 +236,8 @@ public interface DaoMessage {
|
||||
" WHEN folder.type = '" + EntityFolder.JUNK + "' THEN 6" +
|
||||
" WHEN folder.type = '" + EntityFolder.SYSTEM + "' THEN 7" +
|
||||
" 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")
|
||||
// The folder type sort order should match the duplicate algorithm
|
||||
DataSource.Factory<Integer, TupleMessageEx> pagedThread(
|
||||
|
||||
Reference in New Issue
Block a user