diff options
author | ThibG <thib@sitedethib.com> | 2019-03-03 15:38:47 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-03 15:38:47 +0100 |
commit | 99dc212ae5d7b2527d835744bf903293398ce946 (patch) | |
tree | f65493def16efe1830d8c6427ba9b79d5bc79dee /app/models | |
parent | 3e0ed36e8ede7f1994ab9c46c4cb86e613569440 (diff) |
Fix lists export (#10136)
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/export.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/export.rb b/app/models/export.rb index fc4bb6964..9bf866d35 100644 --- a/app/models/export.rb +++ b/app/models/export.rb @@ -23,7 +23,7 @@ class Export def to_lists_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| csv << [list.title, acct(account)] end |