This is a reproduction of a bug in Ember whereby transitioning using the router service with queryParams will trigger incorrect model calls on queryParam with refreshModel.
You will need the following things properly installed on your computer.
- Git
- Node.js (with NPM)
- Ember CLI
- Google Chrome
- yarn
git clone <repository-url>
this repositorycd ember-transition
npm install
ember serve
- Visit your app at http://localhost:4200.
- Clicking either trigger controller or trigger controller 2 won't trigger another model call
- Click trigger service will trigger another model call and another on the first click on either trigger controller button