Bugzilla – Attachment 4329 Details for
Bug 4319
waiting and in transit items cannot be reserved
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Signed-off patch
0001-SIGNED-OFF-BUG4319-waiting-items-cannot-be-reserved.patch (text/plain), 1.71 KB, created by
Owen Leonard
on 2011-06-01 13:11:02 UTC
(
hide
)
Description:
Signed-off patch
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-06-01 13:11:02 UTC
Size:
1.71 KB
patch
obsolete
>From 9aec694986d45a0d314570b01a073728a49331be Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@progilone.fr> >Date: Wed, 1 Jun 2011 10:42:46 +0200 >Subject: [PATCH] [SIGNED-OFF] BUG4319 waiting items cannot be reserved >Content-Type: text/plain; charset="utf-8" > > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > C4/Search.pm | 11 ++++++++++- > 1 files changed, 10 insertions(+), 1 deletions(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index ab7cb59..c3cff65 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1671,7 +1671,7 @@ sub searchResults { > ($reservestatus, $reserveitem) = C4::Reserves::CheckReserves($item->{itemnumber}); > } > >- # item is withdrawn, lost or damaged >+ # item is withdrawn, lost, damaged, not for loan, reserved or in transit > if ( $item->{wthdrawn} > || $item->{itemlost} > || $item->{damaged} >@@ -1686,6 +1686,15 @@ sub searchResults { > $item_in_transit_count++ if $transfertwhen ne ''; > $item_onhold_count++ if $reservestatus eq 'Waiting'; > $item->{status} = $item->{wthdrawn} . "-" . $item->{itemlost} . "-" . $item->{damaged} . "-" . $item->{notforloan}; >+ >+ # can place hold on item ? >+ if ((!$item->{damaged} || C4::Context->preference('AllowHoldsOnDamagedItems')) >+ && !$item->{itemlost} >+ && !$item->{withdrawn} >+ ) { >+ $can_place_holds = 1; >+ } >+ > $other_count++; > > my $key = $prefix . $item->{status}; >-- >1.7.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 4319
:
3740
|
4099
|
4110
|
4327
|
4329
|
16965
|
67558
|
67584
|
67637
|
67704
|
67970
|
68194
|
68197
|
68198
|
68199
|
68531
|
68782
|
68786
|
69724
|
69725
|
69728
|
69815
|
69816
|
69817
|
70457