@@ -, +, @@ --- Koha/Template/Plugin/AuthorisedValues.pm | 5 +++++ .../prog/en/includes/browser-strings.inc | 6 +++--- .../bootstrap/en/includes/browser-strings.inc | 6 +++--- .../opac-tmpl/prog/en/includes/browser-strings.inc | 6 +++--- 4 files changed, 14 insertions(+), 9 deletions(-) --- a/Koha/Template/Plugin/AuthorisedValues.pm +++ a/Koha/Template/Plugin/AuthorisedValues.pm @@ -43,4 +43,9 @@ sub GetByCode { return encode( 'UTF-8', GetAuthorisedValueByCode( $category, $code, $opac ) ); } +sub Get { + my ( $self, @params ) = @_; + return GetAuthorisedValues( @params ); +} + 1; --- a/koha-tmpl/intranet-tmpl/prog/en/includes/browser-strings.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/browser-strings.inc @@ -1,4 +1,4 @@ -[% USE KohaAuthorisedValues %] +[% USE AuthorisedValues %]