Koha-clms/catalogue
Jared Camins-Esakov cf58ab9f75 Bug 7345: Enable exporting records sans private fields
Add an option for marcstd to the opac-export.pl and catalogue/export.pl
scripts. This new format removes all 9XX, X9X, XX9 fields and subfield $9
(with the exception of 490 in flavours of MARC other than UNIMARC). The work is
done in C4::Record::marc2marc.

This patch adds the new export option 'marcstd' for exporting MARC
records without 9xx, x9x and xx9 fields and subfields to the staff
detail page.

Testing plan:
1. Export a record in "MARC (Unicode/UTF-8)" format as a control
2. In the OPAC, run the following jQuery to add the marcstd option to the UI:
> $("#export #format").append("<option value='marcstd'>MARC (no 9xx)</option>");
3. Export the same record in "MARC (no 9xx)" format
4. Compare the two, noticing that any subfield $9 or fields including 9 (other
   than 490 in flavours of MARC other than UNIMARC) have been removed

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Works as advertised now.
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This patch squashes both the original patch and Katrin's follow-up adding
marcstd as an export option on the staff client.

Feb 13, 2012 (marcel): Amended this patch to resolved two definitions of $error in catalogue/export script.
(cherry picked from commit 6378436089)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
(cherry picked from commit 2bb717247a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2012-02-19 22:27:45 -05:00
..
ISBDdetail.pl Bug 5791 - Robust handling of deleted/non-existent biblios and authority records 2011-04-20 12:03:59 +12:00
MARCdetail.pl Bug 5791 - Robust handling of deleted/non-existent biblios and authority records 2011-04-20 12:03:59 +12:00
cardview.pl Bug 4330 : Adding some copyright BibLibre statements 2011-03-21 10:57:20 +13:00
detail.pl Bug 6129 - [3.4.x] this adds an ISSN to serialssolutions URLs 2011-09-13 20:29:28 -04:00
detailprint.pl Bug 6050 Make calls to GetItemsInfo consistent 2011-06-19 16:03:48 -04:00
export.pl Bug 7345: Enable exporting records sans private fields 2012-02-19 22:27:45 -05:00
issuehistory.pl Bug 7097: HidePatronName not hiding on issue history 2012-01-21 01:31:04 -05:00
labeledMARCdetail.pl Bug 5791 - Robust handling of deleted/non-existent biblios and authority records 2011-04-20 12:03:59 +12:00
moredetail.pl Fix for Bug 7121 - remove comma on items info 2012-01-20 14:12:29 -05:00
search.pl bug_6488: Take in account opachiddenitems when searching in opac 2012-02-19 22:27:34 -05:00
showmarc.pl Bug 6972 : Followup fixing bad indentation 2011-10-25 19:34:32 -04:00
updateitem.pl bug_5533: Improved marking items as lost 2011-10-25 19:54:56 -04:00