diff options
author | Go MAEDA <maeda@farend.jp> | 2019-02-15 23:44:20 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-02-15 23:44:20 +0000 |
commit | 6a639cdf0fd331c17c63a0e777dea64239e4eb3c (patch) | |
tree | a963679bcf5117a158ffdd32fda9e953493affc5 /app/models/query.rb | |
parent | a08b64dfbb616a56710cb55bf8edace76cd7059c (diff) | |
download | redmine-6a639cdf0fd331c17c63a0e777dea64239e4eb3c.tar.gz redmine-6a639cdf0fd331c17c63a0e777dea64239e4eb3c.zip |
Translation missing error in "Project's Status" filter options (#30718).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17869 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/query.rb')
-rw-r--r-- | app/models/query.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/models/query.rb b/app/models/query.rb index bfc6841c2..f6cc3bd2c 100644 --- a/app/models/query.rb +++ b/app/models/query.rb @@ -604,10 +604,10 @@ class Query < ActiveRecord::Base # Returns a scope of project statuses that are available as columns or filters def project_statuses_values - project_statuses = Project::LABEL_BY_STATUS - # Remove archived status from filters - project_statuses.delete(9) - project_statuses.stringify_keys.invert.to_a + [ + [l(:project_status_active), "#{Project::STATUS_ACTIVE}"], + [l(:project_status_closed), "#{Project::STATUS_CLOSED}"] + ] end # Adds available filters |