mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 18:41:20 +01:00
Added setting to sort suggested addresses on usage frequency
This commit is contained in:
@@ -63,8 +63,7 @@ public interface DaoContact {
|
||||
" AND (:type IS NULL OR type = :type)" +
|
||||
" AND (email LIKE :query COLLATE NOCASE OR name LIKE :query COLLATE NOCASE)" +
|
||||
" AND state <> " + EntityContact.STATE_IGNORE +
|
||||
" GROUP BY name, email" +
|
||||
" LIMIT " + EntityContact.MAX_SUGGEST)
|
||||
" GROUP BY name, email")
|
||||
List<EntityContact> searchContacts(Long account, Integer type, String query);
|
||||
|
||||
@Insert
|
||||
|
||||
Reference in New Issue
Block a user