Bug 24410: Fix multi holds
Bug 19618 replaces the call to placerequest.pl with a REST API /holds That is wrong as it does not support multi holds. Test plan: Confirm that prior to this patch you are not able to place a hold on several records at once, and that this patch fixes it Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Agustin Moyano <agustinmoyano@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
cd99a03440
commit
bc94d7e659
|
|
@ -380,7 +380,7 @@
|
|||
|
||||
<fieldset class="rows">
|
||||
<legend>Hold details</legend>
|
||||
<form action="/api/v1/holds" method="post" name="form" id="hold-request-form">
|
||||
<form action="placerequest.pl" method="post" name="form" id="hold-request-form">
|
||||
|
||||
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
|
||||
<input type="hidden" name="type" value="str8" />
|
||||
|
|
@ -1028,7 +1028,7 @@
|
|||
"margin-right":"0em"
|
||||
});
|
||||
|
||||
$("#club-request-form, #hold-request-form").on("submit", function() {
|
||||
$("#club-request-form").on("submit", function() {
|
||||
let $t = $(this);
|
||||
$('.clubalert, .holdalert').addClass('hide');
|
||||
let biblionumbers = [biblionumber];
|
||||
|
|
|
|||
Loading…
Reference in New Issue