Search: hidden: find unsnoozed

pull/217/head
M66B 10 months ago
parent 5eef9346c5
commit 1adee6d64e

@ -779,7 +779,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
}
if (criteria.with_hidden) {
if (message.ui_snoozed == null)
if (message.ui_snoozed == null && !message.ui_unsnoozed)
return false;
}

@ -385,7 +385,7 @@ public interface DaoMessage {
" AND (:folder IS NULL OR folder = :folder)" +
" AND (NOT :unseen OR NOT ui_seen)" +
" 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 :with_attachments OR attachments > 0)" +
" AND (NOT :with_notes OR NOT `notes` IS NULL)" +

Loading…
Cancel
Save