Browse Source

Allow to filter by all versions on the global issue list (#26091).

Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@17421 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.0.0
Go MAEDA 6 years ago
parent
commit
06d3e897c4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/models/query.rb

+ 1
- 1
app/models/query.rb View File

@@ -549,7 +549,7 @@ class Query < ActiveRecord::Base
if project
versions = project.shared_versions.to_a
else
versions = Version.visible.where(:sharing => 'system').to_a
versions = Version.visible.to_a
end
Version.sort_by_status(versions).collect{|s| ["#{s.project.name} - #{s.name}", s.id.to_s, l("version_status_#{s.status}")] }
end

Loading…
Cancel
Save