Bug 12670: Show materials label instead of code
authorJulian Maurice <julian.maurice@biblibre.com>
Thu, 24 Jul 2014 09:23:25 +0000 (11:23 +0200)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Thu, 24 Mar 2016 17:30:21 +0000 (17:30 +0000)
commitdd8d1347f91ac16a34d4674d86055b1e8875c9a8
tree5365588bdb96e4ff65bc4fda3660d92bdc4e5062
parentd2417856b9f3dae1be6063e5651579fa5ef497b2
 Bug 12670: Show materials label instead of code

In catalogue/detail.pl, if items.materials is linked to an authorised
values list, show label instead of code.

Test plan:
1/ Create an authorised values list 'MATERIALS' with some values
2/ In default MARC biblio framework, link an item subfield to
'items.materials', and to the AV list 'MATERIALS'
3/ Edit an item and give a value for this subfield
4/ Go to biblio record detail page (catalogue/detail.pl)
5/ In the items table, the authorised value label should be displayed.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
catalogue/detail.pl