fix filters update url
parent
f63c2e9cdc
commit
30b7c16f6b
|
@ -30,7 +30,7 @@ locationFactory = ($location, $route, $rootscope) ->
|
||||||
return $location
|
return $location
|
||||||
|
|
||||||
$location.isInCurrentRouteParams = (name, value) ->
|
$location.isInCurrentRouteParams = (name, value) ->
|
||||||
params = _.merge($route.current.params, $location.search())
|
params = $location.search() || {}
|
||||||
|
|
||||||
return params[name] == value
|
return params[name] == value
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue