---
.../opac-tmpl/prog/en/modules/opac-detail.tmpl | 2 ++
opac/opac-detail.pl | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
index 58fa3dc..726f729 100755
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
@@ -248,6 +248,7 @@
<th>Serial Data</th>
<th>Published</th><!-- /TMPL_IF -->
<th>Status</th>
+ <!-- TMPL_IF NAME="itemdata_itemnotes"
--><th>Notes</th><!-- /TMPL_IF -->
<th>Date Due</th>
</tr>
<!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
@@ -288,6 +289,7 @@
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- /TMPL_IF --></td>
+ <!-- TMPL_IF NAME="itemdata_itemnotes"
--><td><!-- TMPL_VAR NAME="itemnotes" --></td><!-- /TMPL_IF -->
<td><!-- TMPL_VAR NAME="datedue" --></td>
<!-- TMPL_IF NAME="type" -->
<td><a
href="/cgi-bin/koha/maint/catmaintain.pl?type=fixitemtype&bi=<!-- TMPL_VAR
NAME="biblioitemnumber" -->&item=<!-- TMPL_VAR NAME="itemtype" -->">Fix
Itemtype</a></td>
diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl
index e3e537e..76429f4 100755
--- a/opac/opac-detail.pl
+++ b/opac/opac-detail.pl
@@ -142,6 +142,7 @@ for my $itm (@items) {
$itemfields{ccode} = 1 if($itm->{ccode});
$itemfields{enumchron} = 1 if($itm->{enumchron});
$itemfields{copynumber} = 1 if($itm->{copynumber});
+ $itemfields{itemnotes} = 1 if($itm->{itemnotes});
# walk through the item-level authorised values and populate some images
my $item_authorised_value_images =
C4::Items::get_authorised_value_images( C4::Items::get_item_authorised_values(
$itm->{'itemnumber'} ) );
@@ -184,6 +185,7 @@ my $subtitle =
C4::Biblio::get_koha_field_from_marc('bibliosubtitle', 's
itemdata_ccode => $itemfields{ccode},
itemdata_enumchron => $itemfields{enumchron},
itemdata_copynumber => $itemfields{copynumber},
+ itemdata_itemnotes => $itemfields{itemnotes},
authorised_value_images =>
$biblio_authorised_value_images,
subtitle => $subtitle,
);
--
1.5.5.GIT
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches