jonaswinkler / paperless-ng

A supercharged version of paperless: scan, index and archive all your physical documents
https://paperless-ng.readthedocs.io/en/latest/
GNU General Public License v3.0
5.38k stars 352 forks source link

[BUG] Filename of downloaded file based on defined env var "PAPERLESS_FILENAME_FORMAT" #1692

Open galleon21 opened 2 years ago

galleon21 commented 2 years ago

Hello community,

When using the download button on the user interface, the filename of the downloaded file does not follow the pattern defined by the env var "PAPERLESS_FILENAME_FORMAT".

Defined: PAPERLESS_FILENAME_FORMAT: "{created_year}-{created_month}-{created_day}{correspondent}{document_type}-{title}{tag_list}{asn}"

Filename pattern of downloaded file: "{created_year}-{created_month}-{created_day}{correspondent}{title}"

I would like to get downloaded files with filenames as it is defined by the env var "PAPERLESS_FILENAME_FORMAT". How can I fix this issue?

Best regards, Artur