(function () {
  'use strict';

  angular
    .module('fusionSeedApp.services.link', [])
    .constant('BLANK_QUERY', blankQuery)
    .constant('QUERY_PARAM', 'query')
    .factory('LinkService', LinkService);

  var blankQuery = {
    q: '*:*',
    start: 0
  };

  function LinkService($log, $rison, $state, $location, QueryService, BLANK_QUERY,
    QUERY_PARAM) {
    'ngInject';
    return {
      setQuery: setQuery,
      getQueryFromUrl: getQueryFromUrl
    };

    function setQuery(queryObject) {
      var queryObjectString = $rison.stringify(QueryService.getQueryObject());
      var newStateObject = {};
      newStateObject[QUERY_PARAM] = queryObjectString;
      $state.go('home', newStateObject, {notify: false});
      QueryService.setQuery(queryObject);
    }

    function getQueryFromUrl() {
      var queryString = $location.search()[QUERY_PARAM];
      return queryString ? $rison.parse(decodeURIComponent(queryString)) : BLANK_QUERY;
    }
  }
})();

@@ -712,16 +712,39 @@
 %7Bnotify:
+ false, reloadOnSearch:
  false%7D)

fix double reload!