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