Bugzilla – Attachment 161163 Details for
Bug 35752
Can't delete additional contents with 'Delete selected' button
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35752: Pass CSRF token to del_form
Bug-35752-Pass-CSRF-token-to-delform.patch (text/plain), 1.49 KB, created by
Victor Grousset/tuxayo
on 2024-01-18 23:18:06 UTC
(
hide
)
Description:
Bug 35752: Pass CSRF token to del_form
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2024-01-18 23:18:06 UTC
Size:
1.49 KB
patch
obsolete
>From cf9fecfe47fc46d31647178130aaa99220ed772b Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 9 Jan 2024 21:49:44 +0000 >Subject: [PATCH] Bug 35752: Pass CSRF token to del_form > >To test: > >1. Have multiple additional content items ( news/HTML customization/Pages ) >2. On one of the pages ( news/HTML customization/Pages ) select more than one item and try to delete using the 'Delete selected' button >3. You are redirected but nothing happens. >4. APPLY PATCH >5. Try again, this time you should be able to successfully delete additional-contents. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > .../intranet-tmpl/prog/en/modules/tools/additional-contents.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >index 1461b74492..e87c64e552 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >@@ -377,6 +377,7 @@ > [% IF additional_contents.count %] > <div class="page-section"> > <form id="del_form" method="post" action="/cgi-bin/koha/tools/additional-contents.pl"> >+ [% INCLUDE 'csrf-token.inc' %] > <table id="table_additional_contents"> > <thead> > <tr> >-- >2.43.0
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 35752
:
160726
|
160799
| 161163