Bugzilla – Attachment 2302 Details for
Bug 4924
Public/Internal notes missing in staff normal view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Incremental fix
0001-Partial-fix-for-Bug-4924-Public-Internal-notes-missi.patch (text/plain), 3.02 KB, created by
Owen Leonard
on 2010-07-02 15:35:23 UTC
(
hide
)
Description:
Incremental fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2010-07-02 15:35:23 UTC
Size:
3.02 KB
patch
obsolete
>From c83e1a17598bcf4234b825f54cc880a69fb1e041 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 2 Jul 2010 11:31:54 -0400 >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 >--- > catalogue/detail.pl | 3 ++- > .../prog/en/modules/catalogue/detail.tmpl | 2 ++ > 2 files changed, 4 insertions(+), 1 deletions(-) > >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index 85819c0..faffc4e 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->{$_} ); > } > >@@ -212,6 +212,7 @@ $template->param( > itemdata_enumchron => $itemfields{enumchron}, > itemdata_uri => $itemfields{uri}, > itemdata_copynumber => $itemfields{copynumber}, >+ itemdata_itemnotes => $itemfields{itemnotes}, > volinfo => $itemfields{enumchron} || $dat->{'serial'} , > 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 1861028..547a36d 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() { > <!-- TMPL_IF NAME="volinfo" --><th>Publication Details</th><!-- /TMPL_IF --> > <!-- TMPL_IF NAME="itemdata_uri" --><th>URL</th><!-- /TMPL_IF --> > <!-- TMPL_IF NAME="itemdata_copynumber" --><th>Copy No.</th><!-- /TMPL_IF --> >+ <!-- TMPL_IF NAME="itemdata_itemnotes" --><th>Public notes</th><!-- /TMPL_IF --> > <!-- TMPL_IF NAME="SpineLabelShowPrintOnBibDetails" --><th>Spine Label</th><!-- /TMPL_IF --> > </tr> > <!-- TMPL_LOOP NAME="itemloop" --> >@@ -333,6 +334,7 @@ function verify_images() { > <!-- TMPL_IF NAME="itemdata_copynumber" --> > <td class="copynumber"><!-- TMPL_VAR NAME="copynumber" --></td> > <!-- /TMPL_IF --> >+ <!-- TMPL_IF NAME="itemdata_itemnotes" --><td><div class="itemnotes"><!-- TMPL_VAR NAME="itemnotes" --></div></td><!-- /TMPL_IF --> > <!-- 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> > <!-- /TMPL_IF --> >-- >1.7.0.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 4924
:
2296
| 2302 |
2454