1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-24 15:11:03 +00:00

Skip ignored contacts on search

This commit is contained in:
M66B 2019-03-17 09:23:05 +00:00
parent 1d78d7a863
commit c1ccc52474

View file

@ -66,7 +66,8 @@ public interface DaoContact {
" FROM contact" +
" WHERE (:account IS NULL OR account = :account)" +
" AND (:type IS NULL OR type = :type)" +
" AND (email LIKE :query COLLATE NOCASE OR name LIKE :query COLLATE NOCASE)")
" AND (email LIKE :query COLLATE NOCASE OR name LIKE :query COLLATE NOCASE)" +
" AND state <> " + EntityContact.STATE_IGNORE)
Cursor searchContacts(Long account, Integer type, String query);
@Insert