From 43cd090b17538e1bbc8e3be7f700c51523e9289a Mon Sep 17 00:00:00 2001 From: merefield Date: Fri, 15 Sep 2023 16:15:31 +0100 Subject: [PATCH] FIX: avoid page limit on downloads --- app/controllers/custom_wizard/admin/submissions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/custom_wizard/admin/submissions.rb b/app/controllers/custom_wizard/admin/submissions.rb index 72f0961a..d5994c96 100644 --- a/app/controllers/custom_wizard/admin/submissions.rb +++ b/app/controllers/custom_wizard/admin/submissions.rb @@ -23,7 +23,7 @@ class CustomWizard::AdminSubmissionsController < CustomWizard::AdminController def download content = ActiveModel::ArraySerializer.new( - submission_list.submissions, + CustomWizard::Submission.list(@wizard).submissions, each_serializer: CustomWizard::SubmissionSerializer )