mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-26 17:11:36 +01:00
Fix intermittent failure from unspecified order in export_domain_blocks
controller spec (#28562)
This commit is contained in:
parent
092bb8a27a
commit
e12d8893f4
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ module Admin
|
||||||
|
|
||||||
def export_data
|
def export_data
|
||||||
CSV.generate(headers: export_headers, write_headers: true) do |content|
|
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]
|
content << [instance.domain, instance.severity, instance.reject_media, instance.reject_reports, instance.public_comment, instance.obfuscate]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue