# Silly query params question

**URL:** <https://discuss.emberjs.com/t/silly-query-params-question/17335>\
**Category:** Learning Team\
**Created:** [December 18, 2019, 3:23pm UTC](https://discuss.emberjs.com/t/silly-query-params-question/17335 "2019-12-18T15:23:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![efx](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/efx/32/17920_2.png) [@efx](https://discuss.emberjs.com/u/efx)\
**Post date:** [December 18, 2019, 3:23pm UTC](https://discuss.emberjs.com/t/silly-query-params-question/17335/1 "2019-12-18T15:23:08Z")

</div>

I have a handful of routes that use the same controller in my application. They use a few [sticky query parameters](https://guides.emberjs.com/release/routing/query-params/#toc_sticky-query-param-values) so users can conveniently load some state in the app. Yay URLs!

I also have `<LinkTo>` in route template.

Must I always pass `@query` to these `LinkTo` components and any `transitionTo` invocation? Or should the query parameters and their selected values persist throughout navigation until I navigate with `transitionTo('my-route', { queryParams: { someProp: null }})` or clear the properties on the controller?

I think I see [RouterService forces model to refresh when queryParams unchanged · Issue #16349 · emberjs/ember.js · GitHub](https://github.com/emberjs/ember.js/issues/16349) in my application but wanted to confirm my understanding of how query parameters should work.

---

<div class="post-metadata">

**Author:** ![efx](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/efx/32/17920_2.png) [@efx](https://discuss.emberjs.com/u/efx)\
**Post date:** [December 18, 2019, 4:24pm UTC](https://discuss.emberjs.com/t/silly-query-params-question/17335/2 "2019-12-18T16:24:18Z")

</div>

Simplified one example here: [https://github.com/efx/emberjs-16349#steps](https://github.com/efx/emberjs-16349#steps) When 2 routes share a controller the query parameter value is reset upon transitioning back to the route you began on.
