Commit 94663899 authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Use feature_availability_check flag as false on IssueLinks::ListService

parent bee3f430
......@@ -24,10 +24,9 @@ module IssueLinks
private
def issues
authorized_issues = Issue
.not_restricted_by_confidentiality(@current_user)
.merge(@current_user.authorized_projects)
.join_project
authorized_issues = IssuesFinder
.new(@current_user, authorized_only: true, feature_availability_check: false)
.execute
.reorder(nil)
Issue.from("(SELECT issues.*, issue_links.id AS issue_links_id
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment