about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-03-03 15:38:47 +0100
committerEugen Rochko <eugen@zeonfederated.com>2019-03-03 15:38:47 +0100
commit99dc212ae5d7b2527d835744bf903293398ce946 (patch)
treef65493def16efe1830d8c6427ba9b79d5bc79dee /app/models
parent3e0ed36e8ede7f1994ab9c46c4cb86e613569440 (diff)
Fix lists export (#10136)
Diffstat (limited to 'app/models')
-rw-r--r--app/models/export.rb2
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