Skip to content

Commit

Permalink
Merge pull request #9953 from mfo/US/fix-archive-without-annotations
Browse files Browse the repository at this point in the history
correctif: ETQ admin, je souhaite retrouver les annotations privées dans les archives
  • Loading branch information
mfo authored Feb 7, 2024
2 parents e9950a2 + 0650598 commit 8d658c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/procedure_archive_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def make_and_upload_archive(archive)
dossiers.processed_in_month(archive.month)
end

attachments = ActiveStorage::DownloadableFile.create_list_from_dossiers(dossiers, with_bills: true, with_champs_private: true)
attachments = ActiveStorage::DownloadableFile.create_list_from_dossiers(dossiers, with_bills: true, include_infos_administration: true, with_champs_private: true)

DownloadableFileService.download_and_zip(@procedure, attachments, zip_root_folder(archive)) do |zip_filepath|
ArchiveUploader.new(procedure: @procedure, filename: archive.filename(@procedure), filepath: zip_filepath)
Expand Down

0 comments on commit 8d658c6

Please sign in to comment.