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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/