Patch #28154

Support for lastnames with spaces in user autocompleters

Added by Gregor Schmidt 4 months ago. Updated 3 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Issues
Target version:4.0.0

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

Associated revisions

Revision 17259
Added by Go MAEDA 3 months ago

Support for lastnames with spaces in user autocompleters (#28154).

Patch by Gregor Schmidt.

History

#1 Updated by Jan from Planio www.plan.io 4 months ago

  • Target version set to Candidate for next minor release

#2 Updated by Go MAEDA 3 months ago

  • Target version changed from Candidate for next minor release to 4.1.0

Setting target version to 4.1.0.

#3 Updated by Go MAEDA 3 months ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Target version changed from 4.1.0 to 4.0.0

Committed. Thank you for the improvement.

Also available in: Atom PDF