Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
72d21dc6
Commit
72d21dc6
authored
Jul 01, 2020
by
Robert Hunt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename params to audit_params to stop overwriting
parent
3898d95e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
ee/app/controllers/groups/audit_events_controller.rb
ee/app/controllers/groups/audit_events_controller.rb
+2
-2
ee/changelogs/unreleased/fix-group-events-pagination.yml
ee/changelogs/unreleased/fix-group-events-pagination.yml
+5
-0
No files found.
ee/app/controllers/groups/audit_events_controller.rb
View file @
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
...
...
ee/changelogs/unreleased/fix-group-events-pagination.yml
0 → 100644
View file @
72d21dc6
---
title
:
Fix pagination on Group Audit Events
merge_request
:
35767
author
:
type
:
fixed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment