GNOME Bugzilla – Bug 330255
Allow field exist queries on arbitrary fields
Last modified: 2013-09-14 16:49:11 UTC
e_book_query_field_exists() is great as long as EContact knows about the vCard field the user is trying to check for. If the field name isn't in the EContactField enum, then they can't use the filters. Attaching a patch so that you can pass a field name (char*) to be searched for, allowing any vcard fields to be used.
Created attachment 58853 [details] [review] Add e_book_query_vcard_field_exists
This looks good, but can not be committed now, as it adds a new API and we are in API freeze mode.
sush: you are always allowed to put the patch status to "accepted-commit_after_freeze". so do i. ;-)
Can we commit this now?
That patch is broken, I'll attach a fixed version shortly.
Created attachment 69178 [details] [review] Revised patch This patch actually works (!!). It adds a new symbol to the query s-expressions, vcard_exists.
The patch looks good, but due to lack of time i cant apply and check if it breaks anything in eds or evolution. can you please check that it doesnt break anything.
This patch is taken from Maemo 2.0 where it is working well. It doesn't effect the code path for the existing exists() query, only adds a new path.
ok Ross, commit this.
Committed to HEAD.