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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 23 Oct 2021 01:37:28 +0000 (15:37 -1000)
commitd965a695447b288570bfe4368ea4d6fbea523e48
tree62003b3f9d6cd6ae3feeeea844f8cf3d4fc4dbb8
parentb10d9b14548ae4fc46dc478c522120f3d446a6e7
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit c692a8334c4345a5379005650d9c706dde9eabfc)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
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]