Skip to content

Problem: user filter looks like it's been cleared if you leave and return to page, but hasn't actually been cleared #1321

@sallain

Description

@sallain

Describe the bug

If you apply a user filter, then navigate away and return to the SIP browse page, the filter will still be applied, but the name of the user is no longer shown on the filter, making it seem at first glance that the filter has been cleared.

Image

Clicking the "X" on the filter removes the X, but doesn't actually clear the filter, unless the user forces a browser refresh.

To Reproduce

Steps to reproduce the behavior:

  1. Log in and navigate to the SIPs browse page
  2. Use the new "Uploaded by" filter to filter the SIPs to those uploaded by "operator@example.com"
  3. Navigate away, to the Locations page for example
  4. Return to the SIPs browse page

Expected behavior

The filter should either:

  • Be cleared when returning to the page, or
  • Continue to show the user it is filtering results to (i.e. operator@example.com)

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Originally described on #1275 by @fiver-watson

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

🧐 QA

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions