Skip to content

Bug: search query parameter gets cleared upon page refresh or accessing through url #724

@SeeringPhil

Description

@SeeringPhil

Steps to reproduce:

  1. Navigate to a page with a search parameter: https://demo.firecms.co/c/books?&search=inimitable

Current behavior:
• The search query gets removed automatically

Expected behavior:
• It should stay, and apply the filtering upon loading the page. That way, we would be able to share firecms urls directly to search queries and have those links open as expected.

This expected behaviour is already what happens for sorting query parameters, like this:
https://demo.firecms.co/c/books?__sort=title&__sort_order=asc

Note

For me, it feels like a bug, but it may well have been a decision at design time and as such could be classified as a new feature request 😅🤷‍♂️

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions