Patch #28154

Support for lastnames with spaces in user autocompleters

Added by Gregor Schmidt 17 days ago. Updated 17 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:Candidate for next minor release

Description

The user autocompleter, e.g. in the watcher or project membership UIs, doesn't handle last names with spaces well. E.g. a user with firstname "Leonardo" and lastname "da Vinci" would not be found, when searching for "Leonardo da Vinci".

The reason is that the search term will be split into "Leonardo da" and "Vinci" and "Leonardo da" will not be found in any database column.

The attached patch changes the Principal.like scope, so that the search term is split at any white space.

0001-Support-multi-word-last-names-in-Principal-like-and-.patch Magnifier (3 KB) Gregor Schmidt, 2018-02-08 10:36

History

#1 Updated by Jan from Planio www.plan.io 17 days ago

  • Target version set to Candidate for next minor release

Also available in: Atom PDF