Commit 089b43a5 authored by Shinya Maeda's avatar Shinya Maeda

Merge branch 'fix-group-events-pagination' into 'master'

Rename params to audit_params to stop overwriting

See merge request gitlab-org/gitlab!35767
parents 9f929bc4 72d21dc6
......@@ -13,10 +13,10 @@ class Groups::AuditEventsController < Groups::ApplicationController
def index
level = Gitlab::Audit::Levels::Group.new(group: group)
# This is an interim change until we have proper API support within Audit Events
params = transform_author_entity_type(audit_logs_params)
audit_params = transform_author_entity_type(audit_logs_params)
events = AuditLogFinder
.new(level: level, params: params)
.new(level: level, params: audit_params)
.execute
.page(params[:page])
.without_count
......
---
title: Fix pagination on Group Audit Events
merge_request: 35767
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment