diff options
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 |