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:
parent
1d78d7a863
commit
c1ccc52474
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue