diff --git a/app/coffee/modules/base/location.coffee b/app/coffee/modules/base/location.coffee index 0f94f454..8e05f02f 100644 --- a/app/coffee/modules/base/location.coffee +++ b/app/coffee/modules/base/location.coffee @@ -30,7 +30,7 @@ locationFactory = ($location, $route, $rootscope) -> return $location $location.isInCurrentRouteParams = (name, value) -> - params = _.merge($route.current.params, $location.search()) + params = $location.search() || {} return params[name] == value