Ability to set the file extension for generated reports
Description of problem:
When generating reports in Satellite 6.5 web interface, the generated reports have a ".txt" file extension. It would be nice if the user could specify what file extension the report should be created with (for example, ".csv", or ".html") so that the web browser could open the report in the appropriate application.
Version-Release number of selected component (if applicable): Satellite 6.5 Beta
Steps to Reproduce:
1. Generate report from Satellite 6.5 web interface
Generated file has .txt extension
Ability to specify the file extension on a per-report basis, so that ".csv", ".html", etc. could be specified for the file extension.
#1 Updated by Marek Hulán 9 months ago
- Subject changed from - Ability to set the file extension for generated Satellite 6.5 reports to - Ability to set the file extension for generated Satellite 6.5 reports
This will most likely be fixed with https://projects.theforeman.org/issues/25732, I think we should be able to select what formats are available for a given report template if more than one is assigned, during rendering, user should be able to choose one of them. That should also set the correct mime/type and file suffix.