@@ -, +, @@ publishers in other records - 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. --- cataloguing/value_builder/marc21_field_260b.pl | 59 ++++++++++++++++++++++++++ koha-tmpl/intranet-tmpl/prog/css/addbiblio.css | 4 ++ 2 files changed, 63 insertions(+) create mode 100644 cataloguing/value_builder/marc21_field_260b.pl --- a/cataloguing/value_builder/marc21_field_260b.pl +++ a/cataloguing/value_builder/marc21_field_260b.pl @@ -0,0 +1,59 @@ +#!/usr/bin/perl + +# Copyright 2020 Athens County Public Libraries +# +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . + +=head1 SYNOPSIS + +This plugin is used to fill 260$a with a value already existing in +biblioitems.publishercode + +=cut + +use Modern::Perl; +use C4::Context; + +my $builder = sub { + my ( $params ) = @_; + my $function_name = $params->{id}; + + my $res = " + +"; + return $res; +}; + +return { builder => $builder }; --- a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css +++ a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css @@ -349,3 +349,7 @@ tbody tr.active td { width: 16em; } } + +.ui-autocomplete { + z-index: 2000; +} --