Bug 29435: include missing subroutine from C4::AuthoritiesMarc
authorAndreas Roussos <a.roussos@dataly.gr>
Mon, 8 Nov 2021 08:29:58 +0000 (09:29 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Nov 2021 11:38:39 +0000 (12:38 +0100)
commit43a603d9ccca8e804d06998d90bf9a74807b2c50
tree3de65938451c5c2459a84927ea1d7d295d474450
parent5b5b443d6c1eb18d32a72a603e8f090fd85128e9
Bug 29435: include missing subroutine from C4::AuthoritiesMarc

The OPAC authority details page is broken when the 'AuthDisplayHierarchy'
System Preference is set to 'Enable',

This patch fixes that.

Test plan:
1) Set AuthDisplayHierarchy to 'Enable' and try to view the details
   page of an authority in the OPAC -- the page is broken.
2) Apply this patch.
3) Refresh the page; this time the authority details are displayed.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
opac/opac-authoritiesdetail.pl