Fixed unified sort on category

This commit is contained in:
M66B 2022-03-20 07:29:02 +01:00
parent b41a357dae
commit 40d79f6219
1 changed files with 0 additions and 1 deletions

View File

@ -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" +