From be547448368cad2b599e52eb71fc8c6ce39f77c1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 12 Nov 2010 23:28:00 -0500 Subject: [PATCH] Partial fix for Bug 4924, Public/Internal notes missing in staff normal view This fix adds only public notes. A div is added as a hook for styling Signed-off-by: Galen Charlton Signed-off-by: Chris Cormack --- catalogue/detail.pl | 3 ++- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index 4f6c23f6f0..ebecd690ff 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -159,7 +159,7 @@ foreach my $item (@items) { $item->{'location'} = $shelflocations->{$shelfcode} if ( defined( $shelfcode ) && defined($shelflocations) && exists( $shelflocations->{$shelfcode} ) ); my $ccode = $item->{'ccode'}; $item->{'ccode'} = $collections->{$ccode} if ( defined( $ccode ) && defined($collections) && exists( $collections->{$ccode} ) ); - foreach (qw(ccode enumchron copynumber uri)) { + foreach (qw(ccode enumchron copynumber itemnotes uri)) { $itemfields{$_} = 1 if ( $item->{$_} ); } @@ -213,6 +213,7 @@ $template->param( itemdata_uri => $itemfields{uri}, itemdata_copynumber => $itemfields{copynumber}, volinfo => $itemfields{enumchron}, + itemdata_itemnotes => $itemfields{itemnotes}, z3950_search_params => C4::Search::z3950_search_args($dat), C4::Search::enabled_staff_search_views, ); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl index 1861028ddd..547a36dff7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl @@ -214,6 +214,7 @@ function verify_images() { Publication Details URL Copy No. + Public notes Spine Label @@ -333,6 +334,7 @@ function verify_images() { +
&item=">Fix Itemtype -- 2.20.1