Remove default_scope
from StatusEdit
class (#28042)
This commit is contained in:
parent
990c63b440
commit
4be12791e6
3 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ module Admin
|
|||
private
|
||||
|
||||
def batched_ordered_status_edits
|
||||
@status.edits.reorder(nil).includes(:account, status: [:account]).find_each(order: :asc)
|
||||
@status.edits.includes(:account, status: [:account]).find_each(order: :asc)
|
||||
end
|
||||
helper_method :batched_ordered_status_edits
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue