Bugzilla – Attachment 13145 Details for
Bug 8996
In result page items with negative notforloan are available
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-Bug-8996-In-result-page-items-with-negative-notforlo.patch (text/plain), 1.05 KB, created by
Fridolin Somers
on 2012-10-31 16:00:48 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2012-10-31 16:00:48 UTC
Size:
1.05 KB
patch
obsolete
>From 10c61f68948ebc8e7bcddfcb3978138732f8af09 Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Wed, 31 Oct 2012 16:45:14 +0100 >Subject: [PATCH] Bug 8996: In result page items with negative notforloan are > available > >--- > C4/Search.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 3a63fcd..f95cb83 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1799,7 +1799,7 @@ sub searchResults { > else { > > # item is on order >- if ( $item->{notforloan} == -1 ) { >+ if ( $item->{notforloan} < 0 ) { > $ordered_count++; > } > >@@ -1837,7 +1837,7 @@ sub searchResults { > if ( $item->{wthdrawn} > || $item->{itemlost} > || $item->{damaged} >- || $item->{notforloan} > 0 >+ || $item->{notforloan} > || $reservestatus eq 'Waiting' > || ($transfertwhen ne '')) > { >-- >1.7.9.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 8996
:
13145
|
13147