[Koha-bugs] [Bug 4812] Reserves for a specific copy of a book say book is available even though it it still checked out to someone else
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 15 15:06:49 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4812
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #72961|0 |1
is obsolete| |
--- Comment #12 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 72962
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72962&action=edit
Bug 4812: Reserves for a specific copy of a book say book is available even
though it it still checked out
When you place a reserve on a specific copy of a book a note is immediately put
on the card of the person for whom the book is being reserved that says the
book is available even though it is still checked out to someone else.
The code is in placerequest.pl & opac-reserve.pl
holdingbranch
if ($checkitem ne ''){
$rank[0] = '0' unless C4::Context->preference('ReservesNeedReturns');
my $item = $checkitem;
$item = GetItem($item);
if ( $item->{'holdingbranch'} eq $branch ){
$found = 'W' unless C4::Context->preference('ReservesNeedReturns');
}
}
This code does not bother to check to see if an item is actually on the shelf,
it sets it to 'W' reguardless.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list