Fix lists export (#10136)

This commit is contained in:
ThibG 2019-03-03 15:38:47 +01:00 committed by Eugen Rochko
parent 0c8d1435c5
commit 2e28c486b3

View file

@ -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