Skip to content

Change Admin Audit Events sorting field to use GitLab UI

What does this MR do?

This MR updates the Admin Audit Events sorting field to use GitLab UI. This is the final blocker to allow us to start combining the audit event apps into a single Vue app and merging the audit event templates (admin, group and project) into one.

This does not update the sorting field to use the new sorting options from #217321 (closed) as we don't have the API for it yet.

Screenshots

Before After
image image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

  1. Go to /admin/audit_logs
  2. Confirm that Last created is the default selected sorting option
  3. Confirm you can change the sorting order
  4. Confirm on refresh that the sorting order is maintained
  5. Confirm changing the other filters doesn't reset the sorting order

Closes #217321 (closed)

Edited by Robert Hunt

Merge request reports