<div class="histogram-widget" id="<%= containerId %>">
<!--[if lte IE 8 ]> <h3><%= message('widget.unsupported_browser_warning') -%></h3> <![endif]-->
+
+ <!--[if (gte IE 9)|!(IE)]><!-->
+ <h3 style="margin-bottom: 5px;"><%= title -%></h3>
+ <!--<![endif]-->
+
</div>
<!--[if (gte IE 9)|!(IE)]><!-->
.source(baseUrl + '/api/issues/component_tags?' + query)
.options({
maxItemsReachedMessage: '<%= message("widget.measure_filter_histogram.max_items_reached", :params => [maxItems]) -%>',
- baseUrl: baseUrl + '/issues/search/#componentUuids=<%= @project.uuid() -%>',
+ baseUrl: baseUrl + '/issues/search#resolved=false|componentUuids=<%= @project.uuid() -%>',
noData: '<%= message('no_data') -%>'
})
.render('#<%= containerId -%>');
.setQuery(QueryBuilders.filteredQuery(QueryBuilders.matchAllQuery(),
FilterBuilders.boolFilter()
.must(getAuthorizationFilter(new QueryContext()))
+ .must(FilterBuilders.missingFilter(IssueIndexDefinition.FIELD_ISSUE_RESOLUTION))
.must(componentFilter(Arrays.asList(componentUuid)))));
TermsBuilder aggreg = AggregationBuilders.terms("_ref")
.field(IssueIndexDefinition.FIELD_ISSUE_TAGS)
IssueTesting.newDto(rule, file, project).setTags(ImmutableSet.of("convention", "java8", "bug")),
IssueTesting.newDto(rule, file, project).setTags(ImmutableSet.of("convention", "bug")),
IssueTesting.newDto(rule, file, project),
+ IssueTesting.newDto(rule, file, project).setTags(ImmutableSet.of("convention", "java8", "bug")).setResolution(Issue.RESOLUTION_FIXED),
IssueTesting.newDto(rule, file, project).setTags(ImmutableSet.of("convention")));
+
session.commit();
index();
super
+ tooltip: (d) ->
+ "#{d.key} (#{d.value})"
+
+
parseSource: (response) ->
@tags(response.tags)