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

Setup hook not getting query params present in URL #53

Open
Robindfuller opened this issue Feb 13, 2018 · 1 comment
Open

Setup hook not getting query params present in URL #53

Robindfuller opened this issue Feb 13, 2018 · 1 comment

Comments

@Robindfuller
Copy link

setup({queryParams}) hook only gets the default values not those set in the current URL. Is there another hook that I'm not aware of?

If I do my fetchData from the setup method, its ignoring values in the URL on page load.

@Robindfuller
Copy link
Author

After some investigation this seems to happen when I have a nested route that uses the conventional model(). The query params present in the URL are only passed in to my controller after the nested model has loaded. Is there a hook for when the current URL query params finally appear in the controller?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant