Bugzilla – Attachment 1038 Details for
Bug 3025
bug with holds a multiple check-in
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bugfix
0001--bug-3025-multiple-check-in-of-a-multiple-times-re.patch (text/plain), 1.07 KB, created by
Chris Cormack
on 2009-03-10 07:28:00 UTC
(
hide
)
Description:
bugfix
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2009-03-10 07:28:00 UTC
Size:
1.07 KB
patch
obsolete
>From 71870530db13751285b145b8b7cbe6cb91288de2 Mon Sep 17 00:00:00 2001 >From: Nahuel ANGELINETTI <nahuel.angelinetti@biblibre.com> >Date: Tue, 10 Mar 2009 15:24:47 +0100 >Subject: [PATCH] (bug #3025) multiple check-in of a multiple times reserved item go wrong >Content-Type: text/plain; charset="utf-8" > >This patch check that an item is not "Waiting" before do something in GetOtherReserves(because is the item is waiting, we don't need to do something). >--- > C4/Reserves.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Reserves.pm b/C4/Reserves.pm >index 8de6d37..65e420a 100644 >--- a/C4/Reserves.pm >+++ b/C4/Reserves.pm >@@ -371,7 +371,7 @@ sub GetOtherReserves { > my $messages; > my $nextreservinfo; > my ( $restype, $checkreserves ) = CheckReserves($itemnumber); >- if ($checkreserves) { >+ if ($checkreserves and $restype ne "Waiting" ) { > my $iteminfo = GetItem($itemnumber); > if ( $iteminfo->{'holdingbranch'} ne $checkreserves->{'branchcode'} ) { > $messages->{'transfert'} = $checkreserves->{'branchcode'}; >-- >1.5.6.3 >
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 3025
: 1038