summaryrefslogtreecommitdiff
path: root/app/controllers/concerns/issues_action.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/concerns/issues_action.rb')
-rw-r--r--app/controllers/concerns/issues_action.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/concerns/issues_action.rb b/app/controllers/concerns/issues_action.rb
index 5b098628557..4feabc32b1c 100644
--- a/app/controllers/concerns/issues_action.rb
+++ b/app/controllers/concerns/issues_action.rb
@@ -2,8 +2,8 @@ module IssuesAction
extend ActiveSupport::Concern
def issues
- @issues = get_issues_collection
- @issues = @issues.page(params[:page]).per(ApplicationController::PER_PAGE)
+ @issues = get_issues_collection.non_archived
+ @issues = @issues.page(params[:page])
@issues = @issues.preload(:author, :project)
@label = @issuable_finder.labels.first