Fix “Scoped order is ignored, it's forced to be batch order.” warnings (#26793)
This commit is contained in:
parent
f80f426c57
commit
cab4cbfa5c
15 changed files with 25 additions and 22 deletions
|
@ -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!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue