Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Audit log filter ignored in the portal when another page beyond the initial results is selected

Open patrick-smergut-octopus opened this issue 3 years ago • 1 comments

Team

  • [X] I've assigned a team label to this issue

Severity

Minor. One customer impacted so far, but will affect many.

Version

2021.3.8275

Latest Version

No response

What happened?

When the audit log is opened in an instance with multiple spaces and filtered by space, the initial results are filtered by the space selected. When a different page is selected at the bottom of the audit log page (e.g. 2) instead of the initial page, results from other spaces are returned. The results are also filtered incorrectly if the original (page 1) page is re-visited.

Expected result: if a space is selected as a filter, this should persist through other pages and page selection.

Reproduction

  1. Open an Octopus instance with multiple spaces (and associated audit activity within them such as releases from projects).
  2. Go to the Audit log and make the following selections:
    • Select a single space
    • Uncheck 'Include system events'
  3. Review the results presented in the audit log
  4. Visit page 2 of the audit log results
  5. Return to page 1 of the log and review the results

Example from Octopus Operations: (Internal link) https://octopus-operations.octopus.app/app#/Spaces-184/configuration/audit

Filter set to single space (Spaces-184): image

Results on first page are only from the selected space (Spaces-184) and do not include system events: image

Clicking on Page 2 of the audit log, then clicking back to Page 1 removes the filtering and system events as well as events from other spaces are shown: image

Error and Stacktrace

No response

More Information

Originally reported here (internal): https://octopus.zendesk.com/agent/tickets/82475

Workaround

No response

patrick-smergut-octopus avatar Jan 24 '22 20:01 patrick-smergut-octopus

Another client report: Internal

dan-close avatar Nov 23 '22 15:11 dan-close