diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc index fa3a919752..4b77040576 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc @@ -1,5 +1,12 @@ [% USE KohaAuthorisedValues %] +[%#- +This include takes two parameters: an item structure +and an optional loan (issue) structure. The issue +structure is used by course reserves pages, which do +not use an API to fetch items that populates item.datedue. +-%] + [% IF ( item.itemlost ) %] [% av_lib_include = KohaAuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) %] [% IF ( av_lib_include ) %] diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc b/koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc index a3f0b79bc4..19234f7413 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc @@ -1,5 +1,12 @@ [% USE KohaAuthorisedValues %] +[%#- +This include takes two parameters: an item structure +and an optional loan (issue) structure. The issue +structure is used by course reserves pages, which do +not use an API to fetch items that populates item.datedue. +-%] + [% IF ( item.itemlost ) %] [% av_lib_include = KohaAuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) %] [% IF ( av_lib_include ) %]