old_contents: import Ember from 'ember';
  import ResetScrollMixin from '../mixins/reset-scroll';
  import Analytics from '../mixins/analytics';
  
  export default Ember.Route.extend(Analytics, ResetScrollMixin, {
      queryParams: {
          queryString: {
              replace: true
          }
      },
      model() {
          return this
              .get('store')
              .findAll('preprint-provider', { reload: true })
              .then(result => result.filter(item => item.id !== 'osf'));
      },
  });
  
new_contents: import Ember from 'ember';
  import ResetScrollMixin from '../mixins/reset-scroll';
  import Analytics from '../mixins/analytics';
  
  export default Ember.Route.extend(Analytics, ResetScrollMixin, {
      queryParams: {
          queryString: {
              replace: true
          }
      },
      model() {
          return this
              .get('store')
              .findAll('preprint-provider', { reload: true })
              .then(result => result.filter(item => item.id !== 'osf'));
      },
      actions: {
          willTransition() {
              //Don't want to send clearFIlters action as that will trigger
              //behavior specifc to the clearFIlters button.
              let controller = this.controllerFor('discover');
              controller.set('subjectFilter', '');
              controller.set('providerFilter', '');
          }
      }
  });
  
subject: clear the url params on link-to transition: