Go to file
Jared Camins-Esakov 2bb717247a 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>
2012-02-19 21:00:19 -05:00
C4 Bug 7345: Enable exporting records sans private fields 2012-02-19 21:00:19 -05:00
Koha/Template/Plugin Bug 929 : Followup fixing date formatting 2012-01-16 15:59:41 -05:00
acqui Bug 7457: log cleaning on basket.pl 2012-02-19 21:00:17 -05:00
admin bug 7450 small follow-up, removing warn 2012-02-19 21:00:09 -05:00
authorities Bug 6752: Be stricter with utf-8 encoding of output 2012-02-19 15:51:19 -05:00
basket Bug 6050 Make calls to GetItemsInfo consistent 2011-06-14 14:12:02 +12:00
catalogue Bug 7345: Enable exporting records sans private fields 2012-02-19 21:00:19 -05:00
cataloguing Bug 7355 Note subfields are not displayed in TEXTAREA if hidden 2012-02-19 21:00:07 -05:00
circ Revert "Bug 7266: flags debarred, suspended, gonenoaddress in overdue" 2012-01-18 11:08:58 -05:00
debian Bug 6913: More options for koha-create and koha-remove 2012-02-19 21:00:04 -05:00
docs Adding Jorgia Kelsey and Peter Lorimer as contributors 2012-02-19 21:00:03 -05:00
errors Housekeeping in errors scripts 2010-05-12 07:29:03 -04:00
etc Error in records.abs for marc21/biblios 2012-02-19 21:00:16 -05:00
install_misc Bug 7063: add available perl packages for Debian in install_misc/debian.packages 2011-10-22 09:00:33 +13:00
installer Bug 7453: All patrons should have an expiry date 2012-02-19 21:00:14 -05:00
koha-tmpl Bug 7345: Enable exporting records sans private fields 2012-02-19 21:00:19 -05:00
labels Bug 6679 : Adding license statement and stopping declaring variables in a conditional 2011-12-08 14:43:05 -05:00
members bug_7190: Do not reverse writeoffs when item is returned 2012-02-19 21:00:06 -05:00
misc Bug 7238 : Shifting SIPconfig.xml to the etc dir and the scripts to misc/bin 2012-02-19 21:00:13 -05:00
offline_circ Bug 5449: JSON malformed in Koha - Blocker with jQuery 1.4.x 2011-03-12 08:53:41 +13:00
opac Bug 7345: Enable exporting records sans private fields 2012-02-19 21:00:19 -05:00
patroncards bug_6253: Unified member Search() 2011-10-19 16:23:02 +13:00
reports Bug 6984 - Holds statistics doesn't work. 2012-02-19 21:00:10 -05:00
reserve Bug 5674: patron name sort ignoring case when placing holds. 2012-02-19 21:00:13 -05:00
reviews Bug 1623 - Provide view of approved comments 2012-01-16 15:47:29 -05:00
rotating_collections Bug 6553 : Follow up adding license statements 2011-08-13 19:54:38 +12:00
selenium Adding selenium tests for filterMembers 2009-09-30 11:30:37 +02:00
serials Bug 6790: Remove unnecessary variable from getroutinglist return 2012-02-19 15:42:35 -05:00
skel
…
sms Bug 2505 - Add commented use warnings where missing in the sms/ directory 2010-04-21 20:25:08 +12:00
suggestion Bug 6894: Order from suggestion defaulting to wrong currency 2011-12-02 15:47:24 -05:00
svc Bug 6752: Be stricter with utf-8 encoding of output 2012-02-19 15:51:19 -05:00
t Bug 929 : Follow up, shifting test 2012-02-19 21:00:16 -05:00
tags Fix for Bug 2377 - Review tags: format date according to system preference 2010-10-06 09:31:56 -04:00
test Bug 5449: JSON malformed in Koha - Blocker with jQuery 1.4.x 2011-03-12 08:53:41 +13:00
tmp/modified_authorities
…
tools Bug 7505 Superlibrarian can't export all biblios when IndependantBranches is enabled 2012-02-19 21:00:17 -05: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-19 21:00:11 -05: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 Bug 7439 Follow up for mailmap 2012-01-18 10:11:06 -05:00
INSTALL Updating main INSTALL instructions 2011-10-22 09:04:19 +13:00
INSTALL.debian Updating distro specific install files 2011-10-22 09:12:15 +13:00
INSTALL.fedora7 fixing various links to point to *.koha-community.org 2010-10-21 22:08:24 -04:00
INSTALL.opensuse Bug 7356 - Fix various typos and mis-spellings 2012-01-18 10:10:53 -05:00
INSTALL.ubuntu Updating distro specific install files 2011-10-22 09:12:15 +13:00
INSTALL.ubuntu.lucid Updating distro specific install files 2011-10-22 09:12:15 +13:00
LICENSE Update LICENSE with a fresh copy from upstream. This updates the FSF address, and refers to the LGPL with its current name, and changes a few other minor things of the typographical sort. No semantic changes. 2010-03-16 20:17:48 -04:00
MANIFEST.SKIP
…
Makefile.PL Bug 7359 - Begin migration to a new "Koha" namespace from the old "C4" namespace 2012-02-19 15:54:00 -05:00
README updated links in README 2010-05-24 08:14:16 -04:00
README.robots Bug 6411 add another example to README.robots 2011-07-05 14:48:05 +12:00
about.pl Bug 7164 follow-up history.txt and perlcritic compliance 2011-12-14 12:44:39 -05:00
changelanguage.pl Bug 6755 Problems with switching languages 2011-09-23 09:47:09 +12:00
edithelp.pl Bug 7038 Contextual help is always in English 2011-10-18 16:01:25 +13:00
fix-perl-path.PL
…
help.pl Bug 6628 : Stopping a potential vulnerability 2011-11-28 20:11:39 -05:00
install-CPAN.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
koha_perl_deps.pl Bug 6914 - fixes for the color option of koha_perl_deps.pl 2011-12-03 07:13:03 -05:00
kohaversion.pl Updating Version Number to 3.06.03.000 2012-01-27 09:14:57 -05:00
mainpage.pl Bug 7259 - Show a count of items pending approval on staff client home and tools pages 2011-12-08 11:13:29 -05:00
rewrite-config.PL Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00

README

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/