mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-22 07:42:52 +00:00
Search: hidden: find unsnoozed
This commit is contained in:
parent
5eef9346c5
commit
1adee6d64e
2 changed files with 2 additions and 2 deletions
|
@ -779,7 +779,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
||||||
}
|
}
|
||||||
|
|
||||||
if (criteria.with_hidden) {
|
if (criteria.with_hidden) {
|
||||||
if (message.ui_snoozed == null)
|
if (message.ui_snoozed == null && !message.ui_unsnoozed)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -385,7 +385,7 @@ public interface DaoMessage {
|
||||||
" AND (:folder IS NULL OR folder = :folder)" +
|
" AND (:folder IS NULL OR folder = :folder)" +
|
||||||
" AND (NOT :unseen OR NOT ui_seen)" +
|
" AND (NOT :unseen OR NOT ui_seen)" +
|
||||||
" AND (NOT :flagged OR ui_flagged)" +
|
" AND (NOT :flagged OR ui_flagged)" +
|
||||||
" AND (NOT :hidden OR NOT ui_snoozed IS NULL)" +
|
" AND (NOT :hidden OR NOT ui_snoozed IS NULL OR ui_unsnoozed)" +
|
||||||
" AND (NOT :encrypted OR ui_encrypt > 0)" +
|
" AND (NOT :encrypted OR ui_encrypt > 0)" +
|
||||||
" AND (NOT :with_attachments OR attachments > 0)" +
|
" AND (NOT :with_attachments OR attachments > 0)" +
|
||||||
" AND (NOT :with_notes OR NOT `notes` IS NULL)" +
|
" AND (NOT :with_notes OR NOT `notes` IS NULL)" +
|
||||||
|
|
Loading…
Reference in a new issue