Bugzilla – Attachment 5350 Details for
Bug 6783
Circulation restrictions dont work when other withdrawn reasons are used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug id:6783 - Circulation restrictions dont work when other withdrawn reasons are used
0001-Bug-id-6783-Circulation-restrictions-dont-work-when-.patch (text/plain), 1.02 KB, created by
Amit Gupta
on 2011-09-08 05:57:59 UTC
(
hide
)
Description:
Bug id:6783 - Circulation restrictions dont work when other withdrawn reasons are used
Filename:
MIME Type:
Creator:
Amit Gupta
Created:
2011-09-08 05:57:59 UTC
Size:
1.02 KB
patch
obsolete
>From f4b361106917ded1d80148eb6e5d9459f2e3b406 Mon Sep 17 00:00:00 2001 >From: Meenakshi.R <meenakshi.r@osslabs.biz> >Date: Tue, 6 Sep 2011 12:59:56 +0530 >Subject: [PATCH] Bug id:6783 - Circulation restrictions dont work when other withdrawn reasons are used > >Circulation restrictions work only when withdrawn reason (value 1) is selected. >If ones sets up other withdrawn reasons using authorized values, and selects >one of them (e.g. value 2), circulation restrictions don't work. This changes >fixes this problem. > >Signed-off-by: Amit Gupta <amit.gupta@osslabs.biz> >--- > C4/Circulation.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 47068f9..520c116 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -817,7 +817,7 @@ sub CanBookBeIssued { > } > } > } >- if ( $item->{'wthdrawn'} && $item->{'wthdrawn'} == 1 ) >+ if ( $item->{'wthdrawn'} && $item->{'wthdrawn'} > 0 ) > { > $issuingimpossible{WTHDRAWN} = 1; > } >-- >1.6.4.2 >
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 6783
:
5350
|
5394