Bug 8064: Merge several biblios
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 28 May 2013 14:24:53 +0000 (16:24 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 9 Nov 2015 18:08:57 +0000 (15:08 -0300)
commit6143a2bf440ca44968c6609db8f3663ce3a3c9da
treeb362a3f104751b4a8a5ccaa2082b88c86a81ce52
parent02c69b218ad4a7a5e6aa7d390409de1d30a0ddbd
Bug 8064: Merge several biblios

This patch improves the existing merging tool by adding possibility to
merge more than 2 biblios.
There is no functional changes:
  - Add some biblios to a list
  - In the list check some biblios and click on 'Merge selected records'
  - Choose the biblio which will be kept, all others will be deleted
  - On the next page you have all biblios you chose in tabs (left side
    of the screen) and the preview of result (right side)
  - Pick some fields or subfields from records that will be deleted or
    delete some fields from reference record.
  - Click on 'Merge', if there is no errors you are redirected to the
    biblio view.

Added checks for non-repeatable subfields
Added checks for mandatory fields and subfields before submitting the
form.
Added a final report which display deleted records (see syspref
MergeReportFields)

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Util/MARC.pm
cataloguing/merge.pl
installer/data/mysql/atomicupdate/8064_MergeReportFields_syspref.sql [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/includes/merge-record.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt