プロジェクト

全般

プロフィール

Vote #77056

完了

Do not collect ids of subtree in Query#project_statement

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

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

0%

予定工数:
category_id:
30
version_id:
110
issue_org_id:
21611
author_id:
111145
assigned_to_id:
1
comments:
8
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

It is inefficient in larger subtree - it would be nicer with pluck, but it would still result in ugly queries with more projects.
Best way is to use subquery in that cases


journals

According to #21608#note-3, this patch will resolve #19976 and #19102.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
The patch breaks a few tests. It displays issues from subpprojects even if display_subprojects_issues setting is disabled.
--------------------------------------------------------------------------------
I see... I frogot one case in the statement.
--------------------------------------------------------------------------------
Thanks for updating the patch. It have passed all tests.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed, thanks!
--------------------------------------------------------------------------------


related_issues

relates,Needs feedback,19976,Redmine can't work with 3000 projects
relates,Needs feedback,19102,Redmine doesnt scale with large amount of projects

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

  • カテゴリCode cleanup/refactoring_30 にセット
  • 対象バージョン3.3.0_110 にセット

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

いいね!0
いいね!0