Rails4: replace deprecated find_all_by_* at IssuesController
git-svn-id: http://svn.redmine.org/redmine/trunk@12579 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7c10f41ce3
commit
09147940fa
|
@ -297,7 +297,7 @@ class IssuesController < ApplicationController
|
|||
else
|
||||
@saved_issues = @issues
|
||||
@unsaved_issues = unsaved_issues
|
||||
@issues = Issue.visible.find_all_by_id(@unsaved_issues.map(&:id))
|
||||
@issues = Issue.visible.where(:id => @unsaved_issues.map(&:id)).all
|
||||
bulk_edit
|
||||
render :action => 'bulk_edit'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue