Bugzilla – Attachment 19607 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: GetItem must use item-level_itypes syspref
Bug-9532-GetItem-must-use-item-levelitypes-syspref.patch (text/plain), 1.09 KB, created by
Kyle M Hall (khall)
on 2013-07-12 16:58:05 UTC
(
hide
)
Description:
Bug 9532: GetItem must use item-level_itypes syspref
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-07-12 16:58:05 UTC
Size:
1.09 KB
patch
obsolete
>From d6657727a17ddf5e938aecf09ef10c96785df8c4 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] Bug 9532: GetItem must use item-level_itypes syspref > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > C4/Items.pm | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index 212a9d3..b8a8adb 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.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 9532
:
15016
|
15018
|
16419
|
18061
|
18487
|
19606
|
19607
|
24949