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