From bc29290d3571ec69fbed9584c9b5436ba69e4235 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Mon, 23 Feb 2015 14:53:52 +0100 Subject: fix issues bulk change on contextualized pages --- server/sonar-web/src/main/coffee/issues/controller.coffee | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'server') diff --git a/server/sonar-web/src/main/coffee/issues/controller.coffee b/server/sonar-web/src/main/coffee/issues/controller.coffee index 0100182024a..59ea4c3cf0c 100644 --- a/server/sonar-web/src/main/coffee/issues/controller.coffee +++ b/server/sonar-web/src/main/coffee/issues/controller.coffee @@ -104,6 +104,15 @@ define [ q + getQuery: (separator = '|') -> + filter = @options.app.state.get 'query' + _.extend filter, @options.app.state.get 'contextQuery' if @options.app.state.get 'isContext' + route = [] + _.map filter, (value, property) -> + route.push '' + property + '=' + encodeURIComponent(value) + route.join separator + + getRoute: -> filter = @options.app.state.get 'filter' query = super -- cgit v1.2.3