Defect #7257

"Issues by" version links bad criterias

Added by Etienne Massip over 1 year ago. Updated 12 months ago.

Status:Closed Start date:2011-01-10
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Issues
Target version:1.2.0
Affected version:1.1.0 Resolution:

Description

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 >>.


Related issues

duplicated by Defect #7952: Issues by query from roadmap page should be for all, not ... Closed 2011-03-21

History

#1 Updated by Etienne Massip over 1 year ago

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

 1Index: app/views/versions/_issue_counts.rhtml
 2===================================================================
 3--- app/views/versions/_issue_counts.rhtml    (revision 4686)
 4+++ app/views/versions/_issue_counts.rhtml    (working copy)
 5@@ -19,6 +19,7 @@
 6                                         :action => 'index',
 7                                         :project_id => version.project,
 8                                         :set_filter => 1,
 9+                                        :status_id => '*',
10                                         :fixed_version_id => version,
11                                         "#{criteria}_id" => count[:group]} %>
12         </td>
13

Second one deserves to have its own issue.

#2 Updated by Etienne Massip over 1 year ago

And it already has : #4398

#3 Updated by Etienne Massip about 1 year ago

  • Target version set to Candidate for next minor release

#4 Updated by Jean-Philippe Lang about 1 year ago

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

#5 Updated by Etienne Massip about 1 year ago

  • Status changed from New to Resolved
  • Target version changed from Candidate for next minor release to 1.2.0

#6 Updated by Terence Mill 12 months ago

Can this issue get closed?

#7 Updated by Jean-Philippe Lang 12 months ago

  • Status changed from Resolved to 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.

#8 Updated by Etienne Massip 12 months ago

There is already #4398 which I'll set as candidate for next major.

Also available in: Atom PDF