[Evolution-hackers] Querying Evolution with a contact's UID
- From: Tom Copeland <tom infoether com>
- To: evolution-hackers lists ximian com
- Subject: [Evolution-hackers] Querying Evolution with a contact's UID
- Date: Mon, 27 Jun 2005 14:49:01 -0400
Recently I upgraded from Fedora Core 3 to FC4 and with it got a more
recent Evolution and evolution-data-server (1.2.2). Something seems to
have changed with the UID querying; for example, I used to be able to
get a particular contact via its UID by running a query like this:
EBookQuery* q = e_book_query_from_string(g_strdup_printf ("(is \"id\"
where uid is a char* containing "pas-id-42248B0B00000000" or some such.
Now I always get a empty GList back from that kind of query - I even get
an empty GList back if I do a simple "contains" query on the id, i.e.,
"contains 'id' '0'".
I can get all the contact UIDs by doing a
e_book_query_any_field_contains(""), but that seems like a waste rather
than being able to just query on the UID field.
] [Thread Prev