if has_role?(:user, @project)
search_options = {}
+ search_options['componentUuids'] = @project.uuid
search_options['resolutions'] = 'FALSE-POSITIVE'
title = message('widget.false_positive_reviews.name')
%>
if current_user && (!@project || has_role?(:user, @project))
search_options = {}
+ if @project
+ search_options['componentUuids'] = @project.uuid
+ end
search_options['resolved'] = 'false'
search_options['assignees'] = current_user.login
<%
options = {}
options['resolved'] = 'false'
+ options['componentUuids'] = @project.uuid
if @dashboard_configuration.selected_period?
options['createdAfter'] = Api::Utils.format_datetime(@dashboard_configuration.from_datetime)
options['createdBefore'] = Api::Utils.format_datetime(DateTime.now)
issues_search_options = {}
issues_search_options['resolved'] = 'false'
+ issues_search_options['componentUuids'] = @project.uuid
%>
<table width="100%">
<tr>
else
url = ApplicationController.root_context + '/component_issues/index?id=' + url_encode(component.key) + '#'
params.each_with_index do |(key, value), index|
- url += key.to_s + '=' + value.to_s
- if index < params.size - 1
- url += '|'
+ if key != 'componentUuids'
+ url += key.to_s + '=' + value.to_s
+ if index < params.size - 1
+ url += '|'
+ end
end
end
url