Bugzilla – Attachment 18061 Details for
Bug 9532
reserve rules with itemtype on biblio
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9532: Followup - GetItem must use item-level_itypes syspref
0002-Bug-9532-GetItem-must-use-item-level_itypes-syspref.patch (text/plain), 1000 bytes, created by
Fridolin Somers
on 2013-05-10 12:05:36 UTC
(
hide
)
Description:
Bug 9532: Followup - GetItem must use item-level_itypes syspref
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2013-05-10 12:05:36 UTC
Size:
1000 bytes
patch
obsolete
>From 178fe37ec2fb843b3bd522455a9062b06b083a9e Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Fri, 10 May 2013 12:38:53 +0200 >Subject: [PATCH 2/2] Bug 9532: GetItem must use item-level_itypes syspref > >--- > C4/Items.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index d9c31f9..bdf14dc 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -163,8 +163,8 @@ sub GetItem { > $ssth->execute($data->{'itemnumber'}) ; > ($data->{'serialseq'} , $data->{'publisheddate'}) = $ssth->fetchrow_array(); > } >- #if we don't have an items.itype, use biblioitems.itemtype. >- if( ! $data->{'itype'} ) { >+ # if itemtype not on items.itype, use biblioitems.itemtype >+ unless ( C4::Context->preference('item-level_itypes') ) { > my $sth = $dbh->prepare("SELECT itemtype FROM biblioitems WHERE biblionumber = ?"); > $sth->execute($data->{'biblionumber'}); > ($data->{'itype'}) = $sth->fetchrow_array; >-- >1.7.10.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 9532
:
15016
|
15018
|
16419
|
18061
|
18487
|
19606
|
19607
|
24949