aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-03-12 03:44:48 +0800
committerChris Toshok <toshok@src.gnome.org>2002-03-12 03:44:48 +0800
commit3aafc4eaf31c8cbf07feae679acb93f7366b16d7 (patch)
treec3941b6dda6b30a88c941080e842b673f312fb74 /addressbook
parentbb93ebbbee7a46b780ed6c0d408827594b4102a4 (diff)
downloadgsoc2013-evolution-3aafc4eaf31c8cbf07feae679acb93f7366b16d7.tar.gz
gsoc2013-evolution-3aafc4eaf31c8cbf07feae679acb93f7366b16d7.tar.zst
gsoc2013-evolution-3aafc4eaf31c8cbf07feae679acb93f7366b16d7.zip
change contains x-evolution-any-field to beginswith on email, full_name,
2002-03-11 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names.c (update_query): change contains x-evolution-any-field to beginswith on email, full_name, and nickname. faster, and more applicable to this dialog. svn path=/trunk/; revision=16103
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c5
2 files changed, 11 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index ab61673333..6540241277 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,10 @@
+2002-03-11 Chris Toshok <toshok@ximian.com>
+
+ * gui/component/select-names/e-select-names.c (update_query):
+ change contains x-evolution-any-field to beginswith on email,
+ full_name, and nickname. faster, and more applicable to this
+ dialog.
+
2002-03-09 Chris Toshok <toshok@ximian.com>
* backend/idl/addressbook.idl: add TLSNotAvailable to
diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c
index b58b6c1748..e0cc438209 100644
--- a/addressbook/gui/component/select-names/e-select-names.c
+++ b/addressbook/gui/component/select-names/e-select-names.c
@@ -483,7 +483,10 @@ update_query (GtkWidget *button, ESelectNames *e_select_names)
if (category && *category)
q_array[i++] = g_strdup_printf ("(is \"category\" \"%s\")", category);
if (search && *search)
- q_array[i++] = g_strdup_printf ("(contains \"x-evolution-any-field\" \"%s\")", search);
+ q_array[i++] = g_strdup_printf ("(or (beginswith \"email\" \"%s\") "
+ " (beginswith \"full_name\" \"%s\") "
+ " (beginswith \"nickname\" \"%s\"))",
+ search, search, search);
q_array[i++] = NULL;
if (i > 2) {
char *temp = g_strjoinv (" ", q_array);