Fix “Scoped order is ignored, it's forced to be batch order.” warnings (#26793)
This commit is contained in:
@@ -22,7 +22,7 @@ class Admin::StatusBatchAction
|
||||
private
|
||||
|
||||
def statuses
|
||||
Status.with_discarded.where(id: status_ids)
|
||||
Status.with_discarded.where(id: status_ids).reorder(nil)
|
||||
end
|
||||
|
||||
def process_action!
|
||||
|
||||
Reference in New Issue
Block a user