feat(exports): persist instructeur requestor & dossiers count

This commit is contained in:
Colin Darie 2023-10-09 09:37:30 +02:00
parent 760005de35
commit 640f729413
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
4 changed files with 10 additions and 8 deletions

View file

@ -175,7 +175,7 @@ module Instructeurs
.visible_by_administration
.exists?(groupe_instructeur_id: groupe_instructeur_ids) && !instructeur_as_manager?
export = Export.find_or_create_fresh_export(export_format, groupe_instructeurs, **export_options)
export = Export.find_or_create_fresh_export(export_format, groupe_instructeurs, current_instructeur, **export_options)
@procedure = procedure
@statut = export_options[:statut]