mirror of https://github.com/M66B/FairEmail.git
Fixed unified sort on category
This commit is contained in:
parent
b41a357dae
commit
40d79f6219
|
@ -102,7 +102,6 @@ public interface DaoMessage {
|
|||
" AND (NOT :filter_deleted OR NOT message.ui_deleted)" +
|
||||
" AND (:filter_language IS NULL OR SUM(message.language = :filter_language) > 0)" +
|
||||
" ORDER BY -IFNULL(message.importance, 1)" +
|
||||
", account.category COLLATE NOCASE" +
|
||||
", CASE" +
|
||||
" WHEN 'unread' = :sort THEN SUM(1 - message.ui_seen) = 0" +
|
||||
" WHEN 'starred' = :sort THEN COUNT(message.id) - SUM(1 - message.ui_flagged) = 0" +
|
||||
|
|
Loading…
Reference in New Issue