From 07b1cde54de4ff2651c04a1b72dbee214c616a7a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 6 Mar 2019 15:21:33 -0300 Subject: [PATCH] Bug 8775: Use the AV mapped with items.ccode instead of CCODE Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt index 36d1f24f58..891bc6c7e4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt @@ -113,7 +113,7 @@ [% item.replacementprice | $Price %] [% Branches.GetName(item.homebranch) | html %] [% ItemTypes.GetDescription(item.effective_itemtype) | html %] - [% AuthorisedValues.GetByCode( 'CCODE', item.ccode ) | html %] + [% item.ccode%][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %] [% Branches.GetName(item.holdingbranch) | html %] [% AuthorisedValues.GetByCode( 'LOC', item.location ) | html %] [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) | html %] -- 2.11.0