System preference AllowHoldsOnPatronsPossessions is too restrictive.
-AllowHoldsOnPatronsPossessions : Don't allow
-notice with 2 items (X and Y)
-one of items is check-out by borrower A (item X)
-other items is check-out by borrower B (item Y)
If Borrower A wants to hold item Y, he can not because of the system preference.
If system preference is Allow, Borrower A can hold item Y but he can hold item X too, and we don't want that he can.
Is there something I do not understand in the configuration ?
I agree that this AllowHoldsOnPatronsPossessions is a problem.
Currently, we have certain records that we allow mulitple holds on. The patron cannot place a hold on one of these items if they have something on that record checkout out and AllowHoldsOnPatronsPossessions is set to Don't allow. This preference needs to take into account circ rules that allow multiple holds on a record.
I'd say that code related to AllowHoldsOnPatronsPossessions (from reserve/request.pl and opac/opac-reserve.pl) must be moved to C4::Reserves::CanBookBeReserved
Our library just turned this feature ON.
Most of our titles have a single copy and this feature works perfectly for that. However, when dealing with volumes the system preference falls short.
Title X has v1, v2, v3
Patron A checked out v1
Patron B checked out v2
Patron A wants v2 when it gets back.
Patron A cannot place hold on v2.
Patron A must return v1 before placing hold on v2
Not ideal for all cases, but it would help if the preference could restrict on number of items attached to a single bib.
Title X with 1 copy = holds not allowed on possession
Title Y with 2+ copies =
if all copies cko to borrower then no holds
else if borrower cko title copies < max title copies then holds allowed