Skip to content

$page.query returns empty on prerendered pages #1218

@snird

Description

@snird

Describe the bug
Using $page.query sometimes returns as empty for pages with a query string.

To Reproduce
In my experience, any basic page using page from the store.

Expected behavior
It should always have the current page query string

Severity
It made this feature currently unusable for me.
In my case, I can check with browser and use window.location.search instead.
But I'm not sure how severe this might be for those relying on it in the backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions