Always sort archived messages at bottom in threads

pull/194/merge
M66B 3 years ago
parent 8d862cc0c8
commit f67977fc10

@ -243,8 +243,7 @@ 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" +
" CASE WHEN :filter_archive THEN 9 ELSE 0 END" +
" WHEN folder.type = '" + EntityFolder.ARCHIVE + "' THEN 9" +
" ELSE 999 END")
DataSource.Factory<Integer, TupleMessageEx> pagedThread(
long account, String thread, Long id,

Loading…
Cancel
Save