Bug: Audit logs from event only showing 1st page
niels-ccb opened this issue · comments
Actual behavior
When requesting the second page of audit logs on an event, the following link is called:
MISP-INSTANCE/audit_logs/eventIndex/eventId:EVENT-ID/page:2
Expected behavior
Removing the text "eventId:" resolves this issue and shows the second page of audit logs:
MISP-INSTANCE/audit_logs/eventIndex/EVENT-ID/page:2
Steps to reproduce
Go to the audit logs of an events and request a page of audit logs, other than the first page
(When the url is manually fixed and shows the 2nd page, the link to navigate to other pages are also wrong:
MISP-INSTANCE/audit_logs/eventIndex/page:4/eventId:EVENT-ID
-> The page parameter is shown in the resource path before the event-id)
Version
2.4.191
Operating System
Ubuntu
Operating System version
22.04.4 LTS
PHP version
7.4.33
Browser
Firefox
Browser version
125.0.3
Relevant log output
No response
Extra attachments
No response
Code of Conduct
- I agree to follow this project's Code of Conduct