mirror of
https://github.com/funamitech/mastodon
synced 2024-11-24 07:06:34 +09:00
Fix intermittent failure from unspecified order in export_domain_blocks
controller spec (#28562)
This commit is contained in:
parent
092bb8a27a
commit
e12d8893f4
@ -68,7 +68,7 @@ module Admin
|
||||
|
||||
def export_data
|
||||
CSV.generate(headers: export_headers, write_headers: true) do |content|
|
||||
DomainBlock.with_limitations.each do |instance|
|
||||
DomainBlock.with_limitations.order(id: :asc).each do |instance|
|
||||
content << [instance.domain, instance.severity, instance.reject_media, instance.reject_reports, instance.public_comment, instance.obfuscate]
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user