Remove unneeded reorder(nil) conditions (#32200)
This commit is contained in:
parent
f07707a9bb
commit
74291dfb77
6 changed files with 8 additions and 8 deletions
|
|
@ -14,7 +14,7 @@ class Admin::TagFilter
|
|||
end
|
||||
|
||||
def results
|
||||
scope = Tag.reorder(nil)
|
||||
scope = Tag.all
|
||||
|
||||
params.each do |key, value|
|
||||
next if key == :page
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue