[Bug 16626] New: downloaded files should have descriptive names including timestamps.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16626 Bug ID: 16626 Summary: downloaded files should have descriptive names including timestamps. Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: gmcharlt@gmail.com Reporter: barton@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org When downloading exported marc records, creator card batches, creator label batches or report results, the resulting file names are not unique, and none of the names is terribly descriptive. I would suggest a library function that emits a filename formatted something like this ${description}-${date}.${extension} Where ${description} is exported marc => "koha_export.$START-$END" $START => first biblionumber in file $END => last biblionumber in file (range is omitted if there's only one bib) card batches => "creator_batch.$batchnumber" label batches => "label_batch.$batchnumber" report => "report.${report.id}.${sanitized_report_name}" ${sanitized_report_name} => shell friendly, i.e. s/[^A-Za-z0-9]+/_/g ${date} --iso-8601 formatted, shell friendly. ${extension} csv, pdf, marc, marcxml, etc. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org