Browse Source

Fix lists export (#10136)

pull/4/head
ThibG 5 years ago
committed by Eugen Rochko
parent
commit
99dc212ae5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/export.rb

+ 1
- 1
app/models/export.rb 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

Loading…
Cancel
Save