       return _tr
 
     buildFlexiOptions: (options, override) ->
-      opts = {}
+      opts = getUrlParts(window.location.href)
 
       $.extend(opts, options)
-      opts = {}
+
       opts.current_page = @_currentView.currentPage
       opts.per_page = @_currentView.perPage
 

      @setupFirstLastColumns()

      @loadingData = false

      if ((@loadedRows < @_currentView.perPage) && (@loadedRows < @_currentView.totalResults))
        @appendFlexiData()
        if (@_currentView.currentPage is @_pagination.last)
          $(@element).find(".js-fr-from-page").removeAttr('disabled')
          @updateURI()
      else
        @appendResults = false;
        $(@element).find(".js-fr-from-page").removeAttr('disabled')
        $(@element).find(".flexirails-container").trigger("complete")
        @updateURI()

    updateURI: ->
      if window.history?

          "results"           : @t('results.numberOf', this)
        "resultsPerPage"      : resultsPerPage
      navigation = '<div class="results">'+
            '<span class="total_results">1</span> '+
            data.locales.results + ',&nbsp;'+
          '</div>'+
          '<div>'+data.locales.resultsPerPage+'</div>'+
          '<div class="select">'+
