Defect #7257

"Issues by" version links bad criterias

Added by Etienne Massip almost 7 years ago. Updated over 6 years ago.

Status:ClosedStart date:2011-01-10
Priority:NormalDue date:
Assignee:-% Done:

0%

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

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 Redmine - Defect #7952: Issues by query from roadmap page should be for all, not ... Closed 2011-03-21

History

#1 Updated by Etienne Massip almost 7 years ago

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

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>


Second one deserves to have its own issue.

#2 Updated by Etienne Massip almost 7 years ago

And it already has : #4398

#3 Updated by Etienne Massip almost 7 years ago

  • Target version set to Candidate for next minor release

#4 Updated by Jean-Philippe Lang over 6 years ago

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

#5 Updated by Etienne Massip over 6 years 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 over 6 years ago

Can this issue get closed?

#7 Updated by Jean-Philippe Lang over 6 years 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 over 6 years ago

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

Also available in: Atom PDF