diff options
author | Chris Toshok <toshok@ximian.com> | 2001-08-23 15:54:41 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-08-23 15:54:41 +0800 |
commit | d17a71dbf4d08ea9d54d9deb0a48b27d14e83379 (patch) | |
tree | f3288dd220c6da63856224bc9e9c008b585fdb76 | |
parent | 6fba7d7077b165410cb9362597f074556093561c (diff) | |
download | gsoc2013-evolution-d17a71dbf4d08ea9d54d9deb0a48b27d14e83379.tar.gz gsoc2013-evolution-d17a71dbf4d08ea9d54d9deb0a48b27d14e83379.tar.zst gsoc2013-evolution-d17a71dbf4d08ea9d54d9deb0a48b27d14e83379.zip |
switch "full_name" to "x-evolution-any-field" in all the queries where we
2001-08-23 Chris Toshok <toshok@ximian.com>
* 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
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook.c | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 3b05766685..c4eecebfc0 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2001-08-23 Chris Toshok <toshok@ximian.com> + + * 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. + 2001-08-22 Jon Trowbridge <trow@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c (extract_info): 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), |