Index: e-book-backend-summary.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libedata-book/e-book-backend-summary.c,v
retrieving revision 1.5
diff -u -r1.5 e-book-backend-summary.c
--- e-book-backend-summary.c	20 May 2004 00:44:15 -0000	1.5
+++ e-book-backend-summary.c	13 Jan 2005 15:14:37 -0000
@@ -916,10 +916,8 @@
 		for (i = 0; i < summary->priv->items->len; i ++) {
 			EBookBackendSummaryItem *item = g_ptr_array_index (summary->priv->items, i);
 			if (!strcmp (argv[0]->value.string, "full_name")) {
-				char *given = item->given_name;
-				char *surname = item->surname;
-				if ((given && compare (given, argv[1]->value.string))
-				    || (surname && compare (surname, argv[1]->value.string)))
+				char *full_name = item->full_name;
+				if (full_name && compare (full_name, argv[1]->value.string))
 					g_ptr_array_add (result, item->id);
 			}
 			else if (!strcmp (argv[0]->value.string, "email")) {
