evolution-exchange r1779 - in trunk: . addressbook
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-exchange r1779 - in trunk: . addressbook
- Date: Fri, 5 Sep 2008 06:30:28 +0000 (UTC)
Author: mcrha
Date: Fri Sep 5 06:30:28 2008
New Revision: 1779
URL: http://svn.gnome.org/viewvc/evolution-exchange?rev=1779&view=rev
Log:
2008-09-05 Milan Crha <mcrha redhat com>
** Fix for bug #550160
* addressbook/e-book-backend-gal.c: (func_contains):
Be able to search for "Name contains" like queries.
Modified:
trunk/ChangeLog
trunk/addressbook/e-book-backend-gal.c
Modified: trunk/addressbook/e-book-backend-gal.c
==============================================================================
--- trunk/addressbook/e-book-backend-gal.c (original)
+++ trunk/addressbook/e-book-backend-gal.c Fri Sep 5 06:30:28 2008
@@ -1062,6 +1062,9 @@
} else if (!strcmp(propname, "file_as")) {
r = e_sexp_result_new(f, ESEXP_RES_STRING);
r->value.string = g_strdup_printf ("(|(displayName=%s*)(sn=%s*)(%s=%s*))", str, str, ldap_attr, str);
+ } else if (g_str_equal (ldap_attr, "displayName")) {
+ r = e_sexp_result_new(f, ESEXP_RES_STRING);
+ r->value.string = g_strdup_printf("(|(displayName=%s*)(sn=%s*)(givenName=%s*))", str, str, str);
} else
r = e_sexp_result_new(f, ESEXP_RES_UNDEFINED);
return r;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]