From 7034bb65d65718f3864287e40a67887109889c2b Mon Sep 17 00:00:00 2001 From: ThibG Date: Sun, 3 Mar 2019 15:38:47 +0100 Subject: [PATCH] Fix lists export (#10136) --- app/models/export.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/export.rb b/app/models/export.rb index a2520e9c2..ddd282a17 100644 --- a/app/models/export.rb +++ b/app/models/export.rb @@ -22,7 +22,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