Fix lists export (#10136)

th-downstream
ThibG 6 years ago committed by Eugen Rochko
parent 0c8d1435c5
commit 2e28c486b3

@ -23,7 +23,7 @@ class Export
def to_lists_csv def to_lists_csv
CSV.generate do |csv| CSV.generate do |csv|
account.owned_lists.select(:title).each do |list| account.owned_lists.select(:title, :id).each do |list|
list.accounts.select(:username, :domain).each do |account| list.accounts.select(:username, :domain).each do |account|
csv << [list.title, acct(account)] csv << [list.title, acct(account)]
end end

Loading…
Cancel
Save