@aurelia/router update query params on same page

When I am at /search?q=jbj or a totally different page and I call

await this.router.load('search', {
                title: 'Search',
                parameters: {
                    q: this.query,
                },
            });

it works, but when I am at /search and I call the same function, it does not update the query params.

I had a similar question :slightly_smiling_face::

Unfortunately, still do not know how to do this.

1 Like