Skip to content

Search button should always refresh local cache #4128

@lorenzo-cavazzi

Description

@lorenzo-cavazzi

On search pages, we use the RTK query defaults to cache results. That is fine, but we should force refreshing the cache when users click on the Search button again (or press Enter when the focus is on the search input or button)

EDIT: it's not as easy as in the following suggestion Consider passing the refresh action and linking it to the user actions mentioned above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions