Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect sidebar url #745

Open
HeinHuijskes opened this issue Apr 20, 2023 · 2 comments
Open

Incorrect sidebar url #745

HeinHuijskes opened this issue Apr 20, 2023 · 2 comments

Comments

@HeinHuijskes
Copy link
Contributor

HeinHuijskes commented Apr 20, 2023

How to reproduce

  1. Go to members page
  2. Enter a search term
  3. (optional) go to a different page, e.g. articles
  4. Click on the members page icon in the sidebar

Expected behaviour

This sidebar button should lead to the fresh, unaltered members page

Current behaviour

Once a search term is entered and not removed, the url of the members icon in the sidebar refers to the members page including that search term. This does not seem to be intended behaviour, since it does not happen for the articles page for instance.

afbeelding

@guidojw
Copy link
Member

guidojw commented Apr 20, 2023

@Ellen-Wittingen Ellen-Wittingen self-assigned this May 6, 2023
@Ellen-Wittingen
Copy link
Contributor

https://guides.emberjs.com/release/routing/query-params/#toc_sticky-query-param-values

I cant get the second solution to work. First one would work, but feels like hard-coding. This issue is also present for articles. Plus it also remembers how you sorted.

@Ellen-Wittingen Ellen-Wittingen removed their assignment May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants