mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 21:55:13 +00:00
Show snoozed conversations with new messages
This commit is contained in:
parent
d48a87f094
commit
a54ca0247b
1 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ public interface DaoMessage {
|
|||
" HAVING (:found OR SUM(folder.unified) > 0)" +
|
||||
" AND (NOT :filter_seen OR " + unseen_unified + " > 0)" +
|
||||
" AND (NOT :filter_unflagged OR COUNT(message.id) - " + unflagged_unified + " > 0)" +
|
||||
" AND (NOT :filter_snoozed OR SUM(CASE WHEN message.ui_snoozed IS NULL THEN 0 ELSE 1 END) = 0)" +
|
||||
" AND (NOT :filter_snoozed OR message.ui_snoozed IS NULL)" +
|
||||
" ORDER BY" +
|
||||
" CASE" +
|
||||
" WHEN 'unread' = :sort THEN " + unseen_unified + " = 0" +
|
||||
|
@ -111,7 +111,7 @@ public interface DaoMessage {
|
|||
" HAVING SUM(CASE WHEN folder.id = :folder THEN 1 ELSE 0 END) > 0" +
|
||||
" AND (NOT :filter_seen OR " + unseen_folder + " > 0 OR " + is_outbox + ")" +
|
||||
" AND (NOT :filter_unflagged OR COUNT(message.id) - " + unflagged_folder + " > 0 OR " + is_outbox + ")" +
|
||||
" AND (NOT :filter_snoozed OR SUM(CASE WHEN message.ui_snoozed IS NULL THEN 0 ELSE 1 END) = 0 OR " + is_outbox + ")" +
|
||||
" AND (NOT :filter_snoozed OR message.ui_snoozed IS NULL OR " + is_outbox + ")" +
|
||||
" ORDER BY" +
|
||||
" CASE" +
|
||||
" WHEN 'unread' = :sort THEN " + unseen_folder + " = 0" +
|
||||
|
|
Loading…
Reference in a new issue