1
0
Fork 0
forked from gitea/nas

Fix media attachments order

This commit is contained in:
KMY 2023-03-17 18:25:01 +09:00
parent 9a4115797c
commit bbfc45fa68

View file

@ -12,7 +12,7 @@ module Admin
private
def filtered_attachments
MediaAttachment.local_attached.order(created_at: :desc)
MediaAttachment.local_attached.reverse_order
end
end
end