firecms icon indicating copy to clipboard operation
firecms copied to clipboard

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

Open SeeringPhil opened this issue 3 months ago • 1 comments

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 😅🤷‍♂️

SeeringPhil avatar Nov 06 '25 23:11 SeeringPhil

Haha, definitely a bug, thanks for reporting!

On Fri, Nov 7, 2025 at 12:04 AM Philippe @.***> wrote:

SeeringPhil created an issue (firecmsco/firecms#724) https://github.com/firecmsco/firecms/issues/724

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 😅🤷‍♂️

— Reply to this email directly, view it on GitHub https://github.com/firecmsco/firecms/issues/724, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHCCDYMJ6W7V5WZVOGMTSL33PHYBAVCNFSM6AAAAACLMJNGUCVHI2DSMVQWIX3LMV43ASLTON2WKOZTGU4TOOJWHEZDEMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

fgatti675 avatar Nov 07 '25 10:11 fgatti675