From d17a71dbf4d08ea9d54d9deb0a48b27d14e83379 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Thu, 23 Aug 2001 07:54:41 +0000 Subject: switch "full_name" to "x-evolution-any-field" in all the queries where we 2001-08-23 Chris Toshok * gui/component/addressbook.c (addressbook_query_changed): switch "full_name" to "x-evolution-any-field" in all the queries where we want to match all cards, since the backends universally handle this special case more efficiently. svn path=/trunk/; revision=12415 --- addressbook/gui/component/addressbook.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index 775b1a32d3..9cc11635d8 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -717,7 +717,7 @@ addressbook_query_changed (ESearchBar *esb, AddressbookView *view) if (subid < 0 || subid == G_MAXINT) { /* match everything */ - search_query = g_strdup ("(contains \"full_name\" \"\")"); + search_query = g_strdup ("(contains \"x-evolution-any-field\" \"\")"); } else { master_list = get_master_list (); category_name = e_categories_master_list_nth (master_list, subid); @@ -725,12 +725,12 @@ addressbook_query_changed (ESearchBar *esb, AddressbookView *view) } break; default: - search_query = g_strdup ("(contains \"full_name\" \"\")"); + search_query = g_strdup ("(contains \"x-evolution-any-field\" \"\")"); break; } g_string_free (s, TRUE); } else - search_query = g_strdup ("(contains \"full_name\" \"\")"); + search_query = g_strdup ("(contains \"x-evolution-any-field\" \"\")"); if (search_query) gtk_object_set (GTK_OBJECT(view->view), -- cgit v1.2.3