Koha/reserve
Nick Clemens 503a7f0ab1
Bug 30742: Remove 'bad_bibs' and send a list of holdable bibs
Currently place request gets a list of bad_bibs that is created via javascript on the
template. It ignores this list

Ths patch instead doesn't add info for bad bibs, and provides a list of the bibs that
can be held

To test:
1 - Attempt multi hold with some items that can be held, and one that cannot due to notforloan
2 - Fill in pickup locations and place hold
3 - Note hold is place on bib with no avilable items and hsows twice in results
4 - Apply patch
5 - repeat with another patron
6 - Note no aidditonal hold on record with notforloan items
7 - Note with with not for loan items appears only once in results

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-01 13:29:32 -03:00
..
modrequest.pl Bug 30207: Allow any reserveforothers subpermission to access the page 2022-05-13 15:41:55 -10:00
modrequest_suspendall.pl Bug 29540: Raise flagsrequired in modrequest 2022-02-02 21:05:29 -10:00
placerequest.pl Bug 30742: Remove 'bad_bibs' and send a list of holdable bibs 2022-06-01 13:29:32 -03:00
request.pl Bug 30742: Prevent placing holds on items/records where all items notforloan 2022-06-01 13:29:31 -03:00