Koha/koha-tmpl/intranet-tmpl/prog/js/pages
Kyle M Hall 0390b0ef45 Bug 7703: Don't block bulk hold action on search results if some items can't be placed on hold
If you select multiple titles on the search results page in order to
place a bulk hold and some of those titles have no items you get a
JavaScript alert warning you can some cannot be placed on hold. You are
blocked from completing the action until you deselect the invalid hold.

This is unnecessary because the bulk hold process will safely refuse to
place a hold on these titles later in the process.

This patch removes the check that prevents submitting a multi-hold if
one or more records in the multi-hold have no items.

Test plan:
1) Apply patch
2) On the staff interface, do a search
3) On the search results, select at least one record with items and one
   record with no items.
4) Click the 'Place hold' button.
5) You should be redirected to reserve/request.pl with the message
   "Cannot place hold: this record has no items attached."

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-08-30 17:02:07 +02:00
..
addbiblio.js
batchMod.js Bug 27751: Phase out jquery.cookie.js: Batch item modifications 2021-03-09 15:05:30 +01:00
circulation.js Bug 26243: Move translatable strings out of templates and into circulation.js 2020-09-29 14:28:18 +02:00
preferences.js Bug 27321: Make disabled DB columns clearly disabled visually 2021-02-01 16:36:38 +01:00
results.js Bug 7703: Don't block bulk hold action on search results if some items can't be placed on hold 2021-08-30 17:02:07 +02:00
stockrotation.js
tags-review.js Bug 28007: (follow-up) Address missing instances 2021-04-06 15:56:31 +02:00