Project

General

Profile

Actions

Patch #28154

closed

Support for lastnames with spaces in user autocompleters

Added by Gregor Schmidt about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Issues
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

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.


Files

Actions #1

Updated by Jan from Planio www.plan.io about 6 years ago

  • Target version set to Candidate for next minor release
Actions #2

Updated by Go MAEDA about 6 years ago

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

Setting target version to 4.1.0.

Actions #3

Updated by Go MAEDA about 6 years 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.

Actions

Also available in: Atom PDF