From 30b7c16f6b67a27eb3f177a9952617d9a31322b9 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Fri, 12 Jun 2015 12:16:11 +0200 Subject: [PATCH] fix filters update url --- app/coffee/modules/base/location.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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