From f321f6052f4e562b2b6efedfc19bdcc34dcdeaae Mon Sep 17 00:00:00 2001 From: Sivaiah Nallagatla Date: Tue, 17 Aug 2004 13:27:06 +0000 Subject: [PATCH] do a OR operation insted of assinging BEGINS_WITH_FILE_AS 2004-08-17 Sivaiah Nallagatla * backends/groupwise/e-book-backend-groupwise.c (func_begins_with): do a OR operation insted of assinging BEGINS_WITH_FILE_AS --- addressbook/ChangeLog | 5 +++++ addressbook/backends/groupwise/e-book-backend-groupwise.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index ac9bda5..c1ed0bd 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,10 @@ 2004-08-17 Sivaiah Nallagatla + * backends/groupwise/e-book-backend-groupwise.c (func_begins_with): + do a OR operation insted of assinging BEGINS_WITH_FILE_AS + +2004-08-17 Sivaiah Nallagatla + * backends/groupwise/e-book-backend-groupwise.c (book_view_thread) : don't update the view with contact when id is not present. Send the "name email" view to server when the query is for auto-completion diff --git a/addressbook/backends/groupwise/e-book-backend-groupwise.c b/addressbook/backends/groupwise/e-book-backend-groupwise.c index a7d846d..fd0cf78 100644 --- a/addressbook/backends/groupwise/e-book-backend-groupwise.c +++ b/addressbook/backends/groupwise/e-book-backend-groupwise.c @@ -1524,7 +1524,7 @@ func_beginswith(struct _ESExp *f, int argc, struct _ESExpResult **argv, void *da } else if (g_str_equal (propname, "email")) { gw_field_name = "emailList/email"; - sexp_data->auto_completion= BEGINS_WITH_EMAIL; + sexp_data->auto_completion |= BEGINS_WITH_EMAIL; } else if (g_str_equal (propname, "file_as")) { gw_field_name = "name"; -- 2.7.4