diff options
author | Stan Hu <stanhu@gmail.com> | 2018-01-30 15:45:23 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-01-30 17:04:22 -0800 |
commit | 30e6cfa05a361cbdc12ddb7c12061f4c7221c61b (patch) | |
tree | 7564b6be9e610563c5905c34113268c0e4d1d60b /app/controllers/groups_controller.rb | |
parent | 120c79020ddd3097ae64149c75864353276aaa5f (diff) | |
download | gitlab-ce-30e6cfa05a361cbdc12ddb7c12061f4c7221c61b.tar.gz |
Fix not all events being shown in group dashboardsh-fix-events-collection
The group activity feed was limited to the first 20 projects found
in the group, which caused activity from some projects to be omitted.
A limit of 20 is applied to the query for events, so the
extra pagination does little in the way of performance.
Closes #42560
Diffstat (limited to 'app/controllers/groups_controller.rb')
-rw-r--r-- | app/controllers/groups_controller.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index eb53a522f90..75270a0889b 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -150,7 +150,6 @@ class GroupsController < Groups::ApplicationController @projects = GroupProjectsFinder.new(params: params, group: group, options: options, current_user: current_user) .execute .includes(:namespace) - .page(params[:page]) @events = EventCollection .new(@projects, offset: params[:offset].to_i, filter: event_filter) |