fix custom filters load

stable
Juanfran 2015-03-04 13:57:13 +01:00
parent edcbf2e9d3
commit 53e814c9c0
1 changed files with 2 additions and 3 deletions

View File

@ -83,9 +83,8 @@ class FiltersMixin
location.search(name, value)
replaceAllFilters: (filters, load=false) ->
if !@location.isInCurrentRouteParams(name, value)
location = if load then @location else @location.noreload(@scope)
location.search(filters)
location = if load then @location else @location.noreload(@scope)
location.search(filters)
unselectFilter: (name, value, load=false) ->
params = @location.search()