| Summary: | AllowHoldsOnPatronsPossessions and the REST API | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Magnus Enger <magnus> |
| Component: | REST API | Assignee: | Bugs List <koha-bugs> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | gmcharlt, jonathan.druart |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25662 | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 |
| Patch complexity: | --- | Documentation contact: | |
| Documentation submission: | Text to go in the release notes: | ||
| Version(s) released in: | Circulation function: | ||
|
Description
Magnus Enger
2020-01-21 13:15:59 UTC
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 }
Maybe also get_opacitemholds_policy can be bypassed Still a problem in 19.11.06.000. |