Bugzilla – Attachment 98479 Details for
Bug 24410
Multi holds broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24410: Fix multi holds
Bug-24410-Fix-multi-holds.patch (text/plain), 1.80 KB, created by
Julian Maurice
on 2020-02-05 13:23:18 UTC
(
hide
)
Description:
Bug 24410: Fix multi holds
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2020-02-05 13:23:18 UTC
Size:
1.80 KB
patch
obsolete
>From e90f2ed8f634805a8172902efb490e0d0bcd4755 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 13 Jan 2020 14:30:35 +0100 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >index f55487e364..fede00d3ec 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -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]; >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24410
:
97310
|
98479
|
98508
|
98517