Right now there is no convenient way to save an individual authority record. I propose adding a Save button to the authority view in the staff client which allows records to be saved as MARC, MARCXML, and (at least for MARC21) MADS.
Created attachment 10306 [details] [review] Bug 8203: Add ability to save individual authorities Adds the ability to save individual authority records in MADS, MARCXML, or binary MARC format to the staff client. To test: 1. Apply patch 2. View authority record in staff client 3. Try saving record as MADS, MARCXML, and MARC, and confirm that the resulting files are what you expect
Created attachment 10313 [details] [review] [SIGNED-OFF] Bug 8203: Add ability to save individual authorities Adds the ability to save individual authority records in MADS, MARCXML, or binary MARC format to the staff client. To test: 1. Apply patch 2. View authority record in staff client 3. Try saving record as MADS, MARCXML, and MARC, and confirm that the resulting files are what you expect Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Works nicely, tested different export options on different records.
QA Comment: I was about to mark this Passed QA, but I could not get it to work properly. I click on the Save menu and choose an option. But whatever I try, nothing happens.. Tested in Firefox 9 (oops). Note that running the export URL from the address bar did the job perfectly. Any idea? Secondly, authorities/export.pl uses tools/export.tt. This could raise some confusion some day. (No blocker) MARC21slim2MADS.xsl: Does this file need some kind of copyright statement/acknowledgement? It contains a version history; it is not clear where it came from. (Followup?) Marking as Failed QA for need of clarification/adjustment.
Hm, I tested in Firefox too - but not sure about the version. :(
Created attachment 10642 [details] [review] Bug 8203 follow-up: QA fixes Fixes the Save button functionality when YUI is set to be pulled from Yahoo!'s servers, and adds a copyright statement to the MARC21slim2MADS.xsl file. http://bugs.koha-community.org/show_bug.cgi?id=8303
Created attachment 10643 [details] [review] [SIGNED-OFF] Followup
QA Comment: YUI problem fixed. Copyright included. Passed QA
QA comment : UNIMARC epic fail when saving in MARCXML... The patch I made for bug 8202 is probably the way to investigate, I let you do this time: + if ($marcflavour eq 'UNIMARC' && $record_type eq 'auths') { + print $record->as_xml_record('UNIMARCAUTH'); + } else { + print $record->as_xml_record($marcflavour); + }
Created attachment 10669 [details] [review] Bug 8203 follow-up: fix MARCXML export for UNIMARC
QA comment: fix for UNIMARC OK, passed QA
This feature is available in Master.