From d1baa641a4562195c6a53af34cdb6d6f9f15be19 Mon Sep 17 00:00:00 2001 From: Christopher Brannon Date: Fri, 12 Oct 2018 18:45:29 +0000 Subject: [PATCH] Bug 21503: Fix AV to fail to other values --- Koha/Template/Plugin/AuthorisedValues.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Koha/Template/Plugin/AuthorisedValues.pm b/Koha/Template/Plugin/AuthorisedValues.pm index 2692c15a06..e704d5f2dd 100644 --- a/Koha/Template/Plugin/AuthorisedValues.pm +++ b/Koha/Template/Plugin/AuthorisedValues.pm @@ -86,8 +86,9 @@ sub GetDescriptionByKohaField { ? $params->{opac} ? $av->{opac_description} : $av->{lib} - : ''; # Maybe we should return $params->{authorised_value}? - + : $params->{authorised_value} + ? $params->{authorised_value} + : '' } 1; -- 2.11.0