rainloop-webmail icon indicating copy to clipboard operation
rainloop-webmail copied to clipboard

Contacts search (ownCloud RainLoop app) is case sensitive

Open jelle-e opened this issue 11 years ago • 5 comments

When I have a contact in ownCloud named "John Doe" with email "[email protected]" then RainLoop can't find the user when typing "john" in the To field while composing an email. When typing "John" it can find the user. Same is for last name and the email address.

I believe it should search case insensitive. Agree?

jelle-e avatar Apr 13 '15 20:04 jelle-e

I used ownCloud API method for that. Perhaps something wrong with him.

http://api.owncloud.org/classes/OCP.Contacts.html#search

\OCP\Contacts::search

Try to search this contact with ownCloud search (contact section).

RainLoop avatar Apr 13 '15 22:04 RainLoop

Yeah you're right. ownCloud itself has this problem. I'll file the bug to them. Thanks.

jelle-e avatar Apr 13 '15 22:04 jelle-e

Just an update: Issue is fixed in the contacts app of ownCloud itself. You can find the fix here. https://github.com/owncloud/contacts/pull/910/files

jelle-e avatar Jun 10 '15 14:06 jelle-e

Strange, they use strtolower function that does not work correctly with utf 8 strings.

RainLoop avatar Jun 10 '15 16:06 RainLoop

Thanks, maybe you could participate a bit in conversation https://github.com/owncloud/contacts/pull/910 ?

jelle-e avatar Jun 13 '15 20:06 jelle-e