プロジェクト

全般

プロフィール

Vote #78077

完了

Issue destroy : Reassign time issue autocomplete

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

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

0%

予定工数:
category_id:
2
version_id:
119
issue_org_id:
24692
author_id:
4
assigned_to_id:
1
comments:
7
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

When deleting an issue, you get a form to propose you where to reassign the time entries. This patch provides an autocomplete instead of entering the raw issue ID.

Patch tested and fully working for Redmine 3.3.1-devel


journals

Pull request on GitHub : https://github.com/redmine/redmine/pull/91
--------------------------------------------------------------------------------
Sorry bad title, supposed to be : "Issue destroy : Reassign time issue autocomplete"
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Thank you for submitting the patch.

Reassigning destination issue must be an issue within the same project (please see the code in IssuesController#destroy: source:trunk/app/controllers/issues_controller.rb@15923#L354 ). Therefore the auto completing should not suggest issues in other project.

I am not sure, but I think the key-value pair @:scope => Setting.cross_project_subtasks@ in the arguments of @escape_javascript auto_complete_issues_path@ should be removed.
--------------------------------------------------------------------------------
Go MAEDA wrote:
> Reassigning destination issue must be an issue within the same project (please see the code in IssuesController#destroy: source:trunk/app/controllers/issues_controller.rb@15923#L354 ). Therefore the auto completing should not suggest issues in other project.

Fixed. Updated the patch.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed with slight changes. I removed the wrapping span, let me know if it was of any use.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

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

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

いいね!0
いいね!0