[Koha-bugs] [Bug 7345] Should be possible to export MARC records without private fields
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Dec 13 09:28:44 CET 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7345
Chris Cormack <chris at bigballofwax.co.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #6707|0 |1
is obsolete| |
--- Comment #6 from Chris Cormack <chris at bigballofwax.co.nz> 2011-12-13 08:28:44 UTC ---
Created attachment 6738
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6738
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.
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: Frère Sébastien Marie <semarie-koha at latrappe.fr>
Test done under UNIMARC flavour. All seems to work well.
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
Test done under MARC21 flavour, works fine.
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list