summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitrios Christidis <dchristidis@mykolab.com>2015-04-22 15:38:46 +0300
committerErick PĂ©rez Castellanos <erick.red@gmail.com>2015-04-23 02:08:40 -0400
commit1333a956082a4d14b0de2880fe595e10e20496c7 (patch)
tree7812b5466afd70fb61be4fd4bfb613fb03cd29ed
parent3e361a9bdc5ec54f03ce37c61756028ac12970ba (diff)
downloadgnome-contacts-1333a956082a4d14b0de2880fe595e10e20496c7.tar.gz
Added support for searching by phone
-rw-r--r--src/contacts-contact.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/contacts-contact.vala b/src/contacts-contact.vala
index 4078a75..edbe7ae 100644
--- a/src/contacts-contact.vala
+++ b/src/contacts-contact.vala
@@ -948,6 +948,11 @@ public class Contacts.Contact : GLib.Object {
builder.append (email.value.casefold ());
builder.append_unichar (' ');
}
+ var phone_numbers = individual.phone_numbers;
+ foreach (var phone in phone_numbers) {
+ builder.append (phone.value.casefold ());
+ builder.append_unichar (' ');
+ }
filter_data = builder.str;
}