Main Koha release repository https://koha-community.org
Find a file
Jared Camins-Esakov 6378436089 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.
2012-02-13 11:32:18 +01:00
acqui Bug 7457: log cleaning on basket.pl 2012-02-10 15:35:12 +01:00
admin Merge remote-tracking branch 'origin/new/bug_6842' 2012-02-10 15:19:20 +01:00
authorities Bug 6752: Be stricter with utf-8 encoding of output 2012-01-27 12:11:06 +01:00
basket Bug 6050 Make calls to GetItemsInfo consistent 2011-06-14 14:12:02 +12:00
C4 Bug 7345: Enable exporting records sans private fields 2012-02-13 11:32:18 +01:00
catalogue Bug 7345: Enable exporting records sans private fields 2012-02-13 11:32:18 +01:00
cataloguing Bug 7355 Note subfields are not displayed in TEXTAREA if hidden 2012-02-03 11:35:26 +01:00
circ Bug 6964 - 'Add child' function should be dependant on system preference 'borrowerRelationship' 2012-02-02 11:36:05 +01:00
debian Bug 6913: More options for koha-create and koha-remove 2012-02-02 09:15:20 +01:00
docs Adding Jorgia Kelsey and Peter Lorimer as contributors 2012-02-02 09:06:51 +01:00
errors
etc Error in records.abs for marc21/biblios 2012-02-06 21:51:48 +01:00
install_misc
installer Bug 7090 follow-up, setting DBrev number when pushing 2012-02-10 19:43:54 +01:00
Koha/Template/Plugin
koha-tmpl Bug 7345: Enable exporting records sans private fields 2012-02-13 11:32:18 +01:00
labels Bug 6679 : Adding license statement and stopping declaring variables in a conditional 2011-12-08 10:11:27 +01:00
members Merge remote-tracking branch 'origin/new/bug_6964' 2012-02-03 09:19:04 +01:00
misc Bug 7238 : Shifting SIPconfig.xml to the etc dir and the scripts to misc/bin 2012-02-03 15:15:22 +01:00
offline_circ
opac Bug 7345: Enable exporting records sans private fields 2012-02-13 11:32:18 +01:00
patroncards
reports Bug 6984 - Holds statistics doesn't work. 2012-02-03 14:14:15 +01:00
reserve Bug 5674: patron name sort ignoring case when placing holds. 2012-02-03 16:36:21 +01:00
reviews Bug 1623 - Provide view of approved comments 2011-12-27 18:26:50 +01:00
rotating_collections
selenium
serials Bug 6790: Remove unnecessary variable from getroutinglist return 2012-01-23 17:59:27 +01:00
skel
sms Bug 2505 - Add commented use warnings where missing in the sms/ directory 2010-04-21 20:25:08 +12:00
suggestion
svc Bug 6752: Be stricter with utf-8 encoding of output 2012-01-27 12:11:06 +01:00
t Merge remote-tracking branch 'origin/new/bug_929' 2012-02-07 16:43:29 +01:00
tags Bug 6933 follow-up, perltyding new script list.pl 2012-02-02 10:17:43 +01:00
test
tmp/modified_authorities
tools Bug 7505 Superlibrarian can't export all biblios when IndependantBranches is enabled 2012-02-10 15:56:15 +01:00
virtualshelves Fix for Bug 6957, authors disappearing when emailing lists 2011-10-20 11:34:39 +13:00
xt Bug 7476 Remove executable bit from files that probably should not be executed 2012-02-03 14:22:15 +01:00
.htaccess Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
.mailmap 7439 Mailmap for master 2012-01-27 12:27:58 +01:00
about.pl
changelanguage.pl
edithelp.pl
fix-perl-path.PL
help.pl
INSTALL
install-CPAN.pl
INSTALL.debian
INSTALL.fedora7
INSTALL.opensuse Bug 7356 - Fix various typos and mis-spellings 2012-01-13 11:51:26 +01:00
INSTALL.ubuntu
INSTALL.ubuntu.lucid
koha_perl_deps.pl
kohaversion.pl Bug 7090 follow-up, setting DBrev number when pushing 2012-02-10 19:43:54 +01:00
LICENSE
mainpage.pl
Makefile.PL Bug 7359 - Begin migration to a new "Koha" namespace from the old "C4" namespace 2012-01-30 21:55:43 +01:00
MANIFEST.SKIP
README updated links in README 2010-05-24 08:14:16 -04:00
README.robots
rewrite-config.PL

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 2 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/