Bugzilla – Attachment 8214 Details for
Bug 7515
Authorized value code showing in OPAC for public note
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7515 - Followup - Only set itemnotes to authorised value if said value exists.
Bug-7515---Followup---Only-set-itemnotes-to-author.patch (text/plain), 1.06 KB, created by
Kyle M Hall
on 2012-03-15 15:13:55 UTC
(
hide
)
Description:
Bug 7515 - Followup - Only set itemnotes to authorised value if said value exists.
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2012-03-15 15:13:55 UTC
Size:
1.06 KB
patch
obsolete
>From c7d9b0118412cc97fe5fcba9d48d2fdb2390fb6e Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 12 Mar 2012 09:56:42 -0400 >Subject: [PATCH] Bug 7515 - Followup - Only set itemnotes to authorised value if said value exists. > >--- > C4/Items.pm | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index 800c678..dff04e4 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -1271,7 +1271,8 @@ sub GetItemsInfo { > > # get itemnotes authorised value if applicable > ($authorised_valuecode) = C4::Koha::GetAuthValCode('items.itemnotes', $data->{frameworkcode}); >- $data->{itemnotes} = C4::Koha::GetKohaAuthorisedValueLib($authorised_valuecode, $data->{itemnotes}, $opac); >+ my $itemnotes_authvalue = C4::Koha::GetKohaAuthorisedValueLib($authorised_valuecode, $data->{itemnotes}, $opac); >+ $data->{itemnotes} = $itemnotes_authvalue if ( $itemnotes_authvalue ); > > # get restricted status and description if applicable > my $restrictedstatus = $dbh->prepare( >-- >1.7.2.5
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 7515
:
7641
|
7643
|
7644
|
7702
|
7833
|
7893
|
7918
|
7924
|
8182
|
8214