]> git.koha-community.org Git - koha.git/commit
Bug 7131: teach MARC import how to overlay items
authorElliott Davis <elliott@bywatersolutions.com>
Wed, 10 Oct 2012 19:21:22 +0000 (14:21 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 30 Oct 2013 04:31:07 +0000 (04:31 +0000)
commit1dba9c6409d78cb1f90de6c1300cb5b63fb1b851
tree0af529068638bb30d2244ae5c22ee5297a40680d
parentfb1748ee8ba8003742e497e059c187b64bde7fa2
Bug 7131: teach MARC import how to overlay items

When staging biblios with items attached you previously had only two
options, add or don't add.

This patch adds a third option to replace an item record if a match is
found on itemnumber or barcode, else it adds the item.

Test Plan:
1) Stage a file of biblios with items attached.
2) Import the batch into the catalog.
3) Run the indexer so the matcher will match
4) Modify the item data for at least one bib in the file
5) Re-stage the file with the item matching option set to "Replace
   items if matching bib was found"
6) Let the indexer run again
7) You should see updated item information after the overlay

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Henry Bankhead <hbankhead@losgatosca.gov>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/ImportBatch.pm
installer/data/mysql/kohastructure.sql
koha-tmpl/intranet-tmpl/prog/en/includes/tools-item-action.inc
koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt
tools/manage-marc-import.pl