Skip to content

Non persistent searchParams in traccar-web v6.8.1 #1445

@Aaron-Donnelly

Description

@Aaron-Donnelly

Search parameters are not persistent over page navigation. Not sure what the optimised way to resolve this is but workarounds / fixes we have tested are as follows:

ReportsMenu.jsx We added const currentSearch = location.search; which is then used, as shown below, in the links statements.

Image

BottomMenu.jsx we added const deviceId = useSelector((state) => state.devices.selectedId); which is then used, as shown below, in the navigation statement for reports selection.

Image

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