From 819a33a7a417706c4a570f7b10c5b65156920df1 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 1 Oct 2020 14:14:13 +0100 Subject: [PATCH] Bug 18170: Use GetDescriptionByKohaField Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 5b5fb96c98..b96eafa3f4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -850,7 +850,7 @@ Not checked out [% END %] [% IF ( riloo.damaged ) %] - [% AuthorisedValues.GetByCode( 'DAMAGED', riloo.damaged ) | html %] + [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => riloo.damaged ) | html %] [% END %] -- 2.39.5