diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-02-23 14:53:52 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-02-23 14:53:52 +0100 |
commit | bc29290d3571ec69fbed9584c9b5436ba69e4235 (patch) | |
tree | 9b10a9af8642b14d343afb1903ee19b76cb2e676 /server | |
parent | e7ba0a411a5835c7fce789ec74a358695674eac6 (diff) | |
download | sonarqube-bc29290d3571ec69fbed9584c9b5436ba69e4235.tar.gz sonarqube-bc29290d3571ec69fbed9584c9b5436ba69e4235.zip |
fix issues bulk change on contextualized pages
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/coffee/issues/controller.coffee | 9 |
1 files changed, 9 insertions, 0 deletions
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 |