Koha/reserve
Jonathan Druart 450b629ed3 Bug 29969: Prevent crash if 'Update holds' clicked after bulk cancellation
If you cancel holds in bulk, the list is not updated as we enqueued the
task. But the "Update hold(s)" button will explode if clicked.

Test plan:
Place several holds on a bib record
Use the "Cancel selected" link to cancel holds in bulk
The job is enqueued and the hold list still show the holds you cancelled
Click "Update holds"
=> Without this patch you get an ugly 500
Can't call method "found" on an undefined value at /kohadevbox/koha/C4/Reserves.pm line 1060
=> With this patch applied the table is refresh, no crash (and there is
a warning in the log, that may not be necessary)

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-02-21 15:15:47 -10:00
..
modrequest.pl Bug 29969: Prevent crash if 'Update holds' clicked after bulk cancellation 2022-02-21 15:15:47 -10:00
modrequest_suspendall.pl Bug 29540: Raise flagsrequired in modrequest 2022-02-02 21:05:29 -10:00
placerequest.pl Bug 29562: Adjust CanItemBeReserved and checkHighHolds to take objects 2022-01-31 21:55:39 -10:00
request.pl Bug 28405: Add author for multi holds view 2022-02-14 21:41:38 -10:00