From 43cd090b17538e1bbc8e3be7f700c51523e9289a Mon Sep 17 00:00:00 2001 From: merefield Date: Fri, 15 Sep 2023 16:15:31 +0100 Subject: [PATCH 1/2] 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 ) From 16109b01e755c7697350b38ecf202dc0e803d8de Mon Sep 17 00:00:00 2001 From: merefield Date: Fri, 15 Sep 2023 16:19:09 +0100 Subject: [PATCH 2/2] bump patch --- plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.rb b/plugin.rb index 40b30334..0634ef8c 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # name: discourse-custom-wizard # about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more. -# version: 2.4.21 +# version: 2.4.22 # authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever, Juan Marcos Gutierrez Ramos # url: https://github.com/paviliondev/discourse-custom-wizard # contact_emails: development@pavilion.tech