[Koha-bugs] [Bug 4812] New: 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
Tue May 25 17:38:28 CEST 2010


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4812

           Summary: Reserves for a specific copy of a book say book is
                    available even though it it still checked out to
                    someone else
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Hold requests
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: kyle.m.hall at gmail.com
         QAContact: koha-bugs at lists.koha-community.org
   Estimated Hours: 0.0


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

# if we have an item selectionned, and the pickup branch is the same as the
holdingbranch
# of the document, we force the value $rank and $found .
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.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the Koha-bugs mailing list