Bugzilla – Attachment 169548 Details for
Bug 37374
Place hold button non-responsive for club holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37374: (follow-up) Add csrf token and op to form
Bug-37374-follow-up-Add-csrf-token-and-op-to-form.patch (text/plain), 1.27 KB, created by
Martin Renvoize (ashimema)
on 2024-07-25 09:57:28 UTC
(
hide
)
Description:
Bug 37374: (follow-up) Add csrf token and op to form
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-07-25 09:57:28 UTC
Size:
1.27 KB
patch
obsolete
>From 83966f4273093dc2d31f13a81ed563c2d5b16dd6 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 25 Jul 2024 10:54:36 +0100 >Subject: [PATCH] Bug 37374: (follow-up) Add csrf token and op to form > >This patch adds a hidden op input and csrf token to the clubs hold >request form. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 ++ > 1 file changed, 2 insertions(+) > >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 457708dfd41..15684309541 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -303,6 +303,8 @@ > <fieldset class="rows"> > <legend>Hold details</legend> > <form action="/api/v1/clubs/[% club.id | html %]/holds" method="post" name="form" id="club-request-form"> >+ [% INCLUDE 'csrf-token.inc' %] >+ <input type="hidden" name="op" value="cud-noop" /> > > [% IF ( multi_hold ) %] > <input type="hidden" name="request" value="any"/> >-- >2.45.2
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 37374
:
169315
|
169319
|
169420
|
169497
| 169548