Project

General

Profile

Actions

Defect #4792

closed

Version sharing - not available in "All Issues Report"

Added by Anonymous almost 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
Start date:
2010-02-10
Due date:
% Done:

0%

Estimated time:
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.


Files


Related issues

Has duplicate Redmine - Feature #4559: Add a version filter to the global issues viewClosed2010-01-12

Actions
Actions #1

Updated by Jean-Philippe Lang almost 15 years ago

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

Fixed in r3409.

Actions #2

Updated by Anonymous almost 15 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] } }
Actions #3

Updated by Jean-Philippe Lang over 14 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.

Actions

Also available in: Atom PDF