https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35053 Bug ID: 35053 Summary: When placing a hold via the REST API if both biblio_id and item_id are passed the hold is placed on the item, but rules checked for the record Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: REST API Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com CC: tomascohen@gmail.com In the checks we have: if ( $item_id and $biblio_id ) { .... $biblio = Koha::Biblios->find($biblio_id); ... } $item does not get assigned, then later: my $can_place_hold = $item ? C4::Reserves::CanItemBeReserved( $patron, $item ) : C4::Reserves::CanBookBeReserved( $patron_id, $biblio_id ); So while the item may not be holdable, we check if the bib is, then place the hold using the item_id -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.