From bedbd92901472e4534588b6313ec2095fd437547 Mon Sep 17 00:00:00 2001 From: Raul Gracia Date: Fri, 22 Sep 2023 18:06:47 +0100 Subject: [PATCH] store all results ids for downloading --- app/controllers/system_admin/applicants_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/system_admin/applicants_controller.rb b/app/controllers/system_admin/applicants_controller.rb index 28e3220d..206bc98e 100644 --- a/app/controllers/system_admin/applicants_controller.rb +++ b/app/controllers/system_admin/applicants_controller.rb @@ -18,7 +18,7 @@ def index @pagy, @applications = pagy_array(results) session[:filter_status] = params[:status] - session[:application_ids] = @applications.map(&:id) + session[:application_ids] = results.map(&:id) end def download_qa_csv