プロジェクト

全般

プロフィール

Vote #68925

完了

"Issues by" version links bad criterias

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

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

0%

予定工数:
category_id:
2
version_id:
27
issue_org_id:
7257
author_id:
6508
assigned_to_id:
0
comments:
8
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
20
ステータス-->[Closed]

説明

When following a link in the "Issues by" field set of a version page (whichever grouping type is selected), default criterias in the newly opened query page include issue status "open", which is not necessarily true.

Moreover, when grouping by author, if author is not part of project's members list then the criteria is Author is << Me >>.


journals

First point looks easy to solve (not a ruby dev, even less a redmine dev) :

<pre>
<code class="diff">
Index: app/views/versions/_issue_counts.rhtml
===================================================================
--- app/views/versions/_issue_counts.rhtml (revision 4686)
+++ app/views/versions/_issue_counts.rhtml (working copy)
@@ -19,6 +19,7 @@
:action => 'index',
:project_id => version.project,
:set_filter => 1,
+ :status_id => '*',
:fixed_version_id => version,
"#{criteria}_id" => count[:group]} %>
</td>

</code>
</pre>

Second one deserves to have its own issue.
--------------------------------------------------------------------------------
And it already has : #4398
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Fix for status committed in r5187, with a slight change for compatibility with r5179.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Can this issue get closed?
--------------------------------------------------------------------------------
Etienne Massip wrote:
> Moreover, when grouping by author, if author is not part of project's members list then the criteria is _Author is << Me >>_.

This is not fixed and needs much more work. Will fix it later. Etienne, you can open an other ticket for that.
--------------------------------------------------------------------------------
There is already #4398 which I'll set as candidate for next major.
--------------------------------------------------------------------------------


related_issues

duplicates,Closed,7952,Issues by query from roadmap page should be for all, not just open issues

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

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

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

いいね!0
いいね!0