Bugzilla – Attachment 28585 Details for
Bug 12339
catalogue/search.pl biblio availability counts items not on hold as on hold
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for this bug
Bug12339.patch (text/plain), 1.39 KB, created by
Olli-Antti Kivilahti
on 2014-06-01 14:12:27 UTC
(
hide
)
Description:
Patch for this bug
Filename:
MIME Type:
Creator:
Olli-Antti Kivilahti
Created:
2014-06-01 14:12:27 UTC
Size:
1.39 KB
patch
obsolete
>From e34a78ba6ddbf0c6250538e42380210d7a993cef Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> >Date: Sun, 1 Jun 2014 16:58:52 +0300 >Subject: [PATCH] Bug 12339 - catalogue/search.pl biblio availability counts > items not on hold as on hold > >To replicate the issue: > >Make a search in catalogue/search.pl. >Find a Record with lots of holds. (and less than 20 items, otherwise counts are not accurate) >Items which should be available, > are counted as unavailable in the 'availability'-portion in the Record result details of catalogue/search.pl > if the biblio has holds in the Reserved-status. >--- > C4/Search.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 09c1951..54723b8 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1948,7 +1948,7 @@ sub searchResults { > # should map transit status to record indexed in Zebra. > # > ($transfertwhen, $transfertfrom, $transfertto) = C4::Circulation::GetTransfers($item->{itemnumber}); >- $reservestatus = C4::Reserves::GetReserveStatus( $item->{itemnumber}, $oldbiblio->{biblionumber} ); >+ $reservestatus = C4::Reserves::GetReserveStatus( $item->{itemnumber}, undef ); > } > > # item is withdrawn, lost, damaged, not for loan, reserved or in transit >-- >1.8.1.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 12339
: 28585