Defect #4792

Version sharing - not available in "All Issues Report"

Added by Anonymous almost 8 years ago. Updated over 7 years ago.

Status:ClosedStart date:2010-02-10
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:0.9.3
Resolution:Fixed Affected version:

Description

Shared "System" versions are not available in Filters on http://redmine/issues

It is therefore not possible to filter and sort.

They should be there.

system_shared_versions_name.patch Magnifier (549 Bytes) Anonymous, 2010-02-10 23:39


Related issues

Duplicated by Redmine - Feature #4559: Add a version filter to the global issues view Closed 2010-01-12

Associated revisions

Revision 3409
Added by Jean-Philippe Lang almost 8 years ago

Adds filter for system shared versions on the cross project issue list (#4792).

History

#1 Updated by Jean-Philippe Lang almost 8 years ago

  • Status changed from New to Resolved
  • Target version set to 0.9.3
  • Resolution set to Fixed

Fixed in r3409.

#2 Updated by Anonymous almost 8 years ago

The r3409 is fine. However it creates version names, that contain the name of project you were creating the version in. This is fine in normal shared versions, however "system" versions are not tiet to particular project. So the project you were in, should NOT be displayed. And there is no way to create system version that is not tied to project.

The solution is in my opinion simple. system versions should not display project at all, just display "Global - <version_name>". I suggested this fix in #4728 as well.

Just remember - system versions are meant for whole redmine installation, so should not bear the project name, which is misleading.

Patch for format_version_name(version) attached.

For r3409 the patch will be changing line 215 in source:trunk/app/models/query.rb@3409#L215 like this:

- @available_filters["fixed_version_id"] = { :type => :list_optional, :order => 7, :values => system_shared_versions.sort.collect{|s| ["#{s.project.name} - #{s.name}", s.id.to_s] } }
+ @available_filters["fixed_version_id"] = { :type => :list_optional, :order => 7, :values => system_shared_versions.sort.collect{|s| ["Global - #{s.name}", s.id.to_s] } }

#3 Updated by Jean-Philippe Lang over 7 years ago

  • Status changed from Resolved to Closed

This is fine in normal shared versions, however "system" versions are not tiet to particular project.

System shared versions are tied to a project and you can share system versions from different projects.
So having the project name makes sense.

For your need, you can name your project with your system versions "Global" as a workaround.

Also available in: Atom PDF