aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-web/src/main/coffee/component-viewer/header/issues-header.coffee3
-rw-r--r--server/sonar-web/src/main/hbs/component-viewer/header/cw-issues-header.hbs2
2 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/coffee/component-viewer/header/issues-header.coffee b/server/sonar-web/src/main/coffee/component-viewer/header/issues-header.coffee
index 9da852a2ffa..60856eed04d 100644
--- a/server/sonar-web/src/main/coffee/component-viewer/header/issues-header.coffee
+++ b/server/sonar-web/src/main/coffee/component-viewer/header/issues-header.coffee
@@ -46,7 +46,8 @@ define [
issuesBulkChange: ->
issues = @source.get('activeIssues')?.map (issue) -> issue.key
if issues.length > 0
- url = "#{baseUrl}/issues/bulk_change_form?issues=#{issues.join()}"
+ count = Math.min issues.length, 200
+ url = "#{baseUrl}/issues/bulk_change_form?issues=#{_.first(issues, count).join()}"
openModalWindow url, {}
diff --git a/server/sonar-web/src/main/hbs/component-viewer/header/cw-issues-header.hbs b/server/sonar-web/src/main/hbs/component-viewer/header/cw-issues-header.hbs
index 4f8fcbfbcd9..30d39c84de9 100644
--- a/server/sonar-web/src/main/hbs/component-viewer/header/cw-issues-header.hbs
+++ b/server/sonar-web/src/main/hbs/component-viewer/header/cw-issues-header.hbs
@@ -97,7 +97,7 @@
<div class="component-viewer-header-expanded-bar-section-title">&nbsp;</div>
<ul class="component-viewer-header-expanded-bar-section-list">
{{#if state.canBulkChange}}
- <li><a class="link-action js-issues-bulk-change">
+ <li><a class="link-action js-issues-bulk-change" title="200 max">
<span><i class="icon-bulk-change"></i> {{t 'bulk_change'}}</span>
</a></li>
{{/if}}