Vote #68925
完了"Issues by" version links bad criterias
0%
説明
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