This commit is contained in:
parent
daf95f2a59
commit
b96038ea3e
1 changed files with 2 additions and 2 deletions
|
|
@ -116,7 +116,7 @@ public class Application.ContactStore : Geary.BaseObject {
|
|||
|
||||
Folks.SearchView view = new Folks.SearchView(
|
||||
this.individuals,
|
||||
new Folks.SimpleQuery(query, FOLKS_GENERAL_MATCH_FIELDS)
|
||||
new Folks.SimpleQuery("%".concat(query, "%"), FOLKS_GENERAL_MATCH_FIELDS)
|
||||
);
|
||||
yield view.prepare();
|
||||
|
||||
|
|
@ -158,7 +158,7 @@ public class Application.ContactStore : Geary.BaseObject {
|
|||
|
||||
Gee.Collection<Geary.Contact> engine_results =
|
||||
yield this.account.contact_store.search(
|
||||
query, min_importance, limit, cancellable
|
||||
"%".concat(query, "%"), min_importance, limit, cancellable
|
||||
);
|
||||
foreach (Geary.Contact contact in engine_results) {
|
||||
string email_key = to_cache_key(contact.email);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue