プロジェクト

全般

プロフィール

Vote #79132

完了

Support for lastnames with spaces in user autocompleters

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
2
version_id:
99
issue_org_id:
28154
author_id:
14446
assigned_to_id:
332
comments:
3
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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.


journals

--------------------------------------------------------------------------------
Setting target version to 4.1.0.
--------------------------------------------------------------------------------
Committed. Thank you for the improvement.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリIssues_2 にセット
  • 対象バージョン4.0.0_99 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0