aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/addressbook.c6
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),
OBS_SAFE variableak2013-08-151-1/+0 * . remove the indefinite article and reword COMMENT;bsam2013-05-271-12/+9 * Finish converting the whole ports tree to USES=pkgconfigbapt2013-04-231-2/+1 * Convert USE_FUSE macros into USES feature.bapt2013-03-071-5/+2 * - Reassign ports from avl@ back to pool at his request.fluffy2013-02-211-1/+1 * - introduce a USE_FUSE macroflo2012-12-141-3/+1 * new devel/pkgconf added to replace devel/pkg-config. new version of pkg-configbapt2012-07-26