GNOME Bugzilla – Bug 319056
x-evolution-any-field shortcut doesn't work
Last modified: 2006-06-07 11:20:06 UTC
EDS supports a special query to return all Contacts. By defining this is a standard query for all contacts, it can be special cased: (contains "x-evolution-any-field" "") However, this doesn't work. When that EBookQuery is created and then turned back into a string, it ends up as this: (contains "x-evolution-any-field" "") Note the extra space near the end. This means that all of the server-side optimisations fail, and the contact is matches against a filter which will always pass.
Created attachment 53578 [details] [review] Fix x-evolution-any-field serialisation The query-to-string code is full of extra spaces (due to building using printf and escape_string() adding a leading space) but this is the only string which is compared literally.
adding dep
The patch looks good to commit - include a Change Log. Please include ChangeLogs in patches submitted - helps in easier backporting.
Applied to HEAD, thanks.