[Koha-bugs] [Bug 24466] AllowHoldsOnPatronsPossessions and the REST API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 22 11:06:37 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24466

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
I guess we need to move that block from request.pl to CanBookBeReserved:

347         { # alreadypossession
348             # Check to see if patron is allowed to place holds on records
where the
349             # patron already has an item from that record checked out
350             if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions')
351                 && CheckIfIssuedToPatron( $patron->borrowernumber,
$biblionumber ) )
352             {
353                 $template->param( alreadypossession => 1, );
354             }
355         }

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list