Skip ignored contacts on search

pull/153/head
M66B 7 years ago
parent 1d78d7a863
commit c1ccc52474

@ -66,7 +66,8 @@ public interface DaoContact {
" FROM contact" + " FROM contact" +
" WHERE (:account IS NULL OR account = :account)" + " WHERE (:account IS NULL OR account = :account)" +
" AND (:type IS NULL OR type = :type)" + " 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); Cursor searchContacts(Long account, Integer type, String query);
@Insert @Insert

Loading…
Cancel
Save