Fix lists export (#10136)
This commit is contained in:
parent
3e0ed36e8e
commit
99dc212ae5
|
@ -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…
Reference in New Issue