Bug 15933: Add cataloguing plugin to search for existing publishers in other records
authorOwen Leonard <oleonard@myacpl.org>
Mon, 13 Jul 2020 17:42:36 +0000 (17:42 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 16 Oct 2020 14:51:11 +0000 (14:51 +0000)
commitb5a75cc375d1f24c88f1e9460b3a29af9704cc93
treea0bf829e1a6a40d2feb750ca4428582311f9c992
parente6867a9e26e5927e7e1731b16f9d09e6e34e43ac
Bug 15933: Add cataloguing plugin to search for existing publishers in other records

This patch adds a new cataloging plugin for MARC21 installations,
marc21_field-260b.pl. When enabled it provides autocomplete for
publisher name, pulling existing data from biblioitems.publishercode.

To test, apply the patch and enable the plugin:

- Go to Administration -> MARC bibliographic framework -> MARC structure
  -> 260 -> Edit subfields -> Subfield b -> Other options.
- Set "Plugin" to marc21_field_260b.pl.
- Go to Cataloging and edit or create a record.
- Under tab 2 click the field for 260$b. Start typing a publisher name.
  A dropdown should appear with matching publishers.
- Selecting one of the results should populate the form field with that
  information.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Also works with 264$b.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit f90afe5c22445fb47430f629491d09762beeb3f8)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
cataloguing/value_builder/marc21_field_260b.pl [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/css/addbiblio.css