Bug 24698: Add plugin and template files for unimarc authority leader
authorGeorge Veranis <gveranis@dataly.gr>
Fri, 12 Mar 2021 11:51:57 +0000 (12:51 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 12 Oct 2021 09:15:32 +0000 (11:15 +0200)
commit208f7158559b886fbe25152dbebf560b2dd8542c
treee26a658cb7239532bf3909dcaeaf046d9e6c0292
parentccaa25a70d164e05084150cb025bff56af457e0d
Bug 24698: Add plugin and template files for unimarc authority leader

In Unimarc installations when adding/editing an authority record there is no
Tag Editor for the leader field ( 000 ).

This patch fixes that.

Test plan:

1) Try to catalogue a new authoritry and check if on field 000 you can find
the Tag Editor.
2) Apply the patch.
3) In the authorities framework view the subfields of field 000 and select for
plugin option the value unimarc_leader_authorities.pl.
4) Restart memcached / plack if needed.
5) Repeat step 1 and notice if the Tag Editor is visible and click it to open
new window in order to manage the field contents and press OK.
6) Check the value of the generated leader.

Signed-off-by: Esther <estherm@sodapsringsid.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
cataloguing/value_builder/unimarc_leader_authorities.pl [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_leader_authorities.tt [new file with mode: 0644]