Revision 23661
branches/6.0-stable/app/controllers/auto_completes_controller.rb | ||
---|---|---|
26 | 26 |
status = params[:status].to_s |
27 | 27 |
issue_id = params[:issue_id].to_s |
28 | 28 |
|
29 |
scope = Issue.cross_project_scope(@project, params[:scope]).visible |
|
29 |
scope = Issue.cross_project_scope(@project, params[:scope]).includes(:tracker).visible
|
|
30 | 30 |
scope = scope.open(status == 'o') if status.present? |
31 | 31 |
scope = scope.where.not(:id => issue_id.to_i) if issue_id.present? |
32 | 32 |
if q.present? |
Also available in: Unified diff
Merged r23660 from trunk to 6.0-stable (#42574).