mirror of
https://github.com/redmine/redmine.git
synced 2026-07-09 12:42:40 +02:00
Merged r23660 from trunk to 6.0-stable (#42574).
git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23661 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -26,7 +26,7 @@ class AutoCompletesController < ApplicationController
|
||||
status = params[:status].to_s
|
||||
issue_id = params[:issue_id].to_s
|
||||
|
||||
scope = Issue.cross_project_scope(@project, params[:scope]).visible
|
||||
scope = Issue.cross_project_scope(@project, params[:scope]).includes(:tracker).visible
|
||||
scope = scope.open(status == 'o') if status.present?
|
||||
scope = scope.where.not(:id => issue_id.to_i) if issue_id.present?
|
||||
if q.present?
|
||||
|
||||
Reference in New Issue
Block a user