Koha/koha-tmpl/intranet-tmpl/prog
Phil Ringnalda 66eabead5f
Bug 37979: Toggling item circulation alerts table cells needs to send csrf_token
When you click on a cell in the Item circulation alerts table, the page sends
a POST to /cgi-bin/koha/admin/item_circulation_alerts.pl without including a
csrf_token, which gets back a 403 error because that's sketchy behavior. It
needs to include the token.

Test plan:
1. Administration - Item circulation alerts
2. Open the browser devtools to the console
3. Click on any green table cell
4. It should have turned red, but instead your console turned red with a 403
5. Apply patch, reload
6. Click on any green table cell, it will turn red

Sponsored-by: Chetco Community Public Library

https://bugs.koha-community.org/show_bug.cgi?id=37959
Signed-off-by: Jan Kissig <jkissig@th-wildau.de>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-09-27 18:00:31 +02:00
..
css Bug 37955: Fix table's 'configure' button to open correct column settings 2024-09-19 12:50:50 +01:00
en Bug 37979: Toggling item circulation alerts table cells needs to send csrf_token 2024-09-27 18:00:31 +02:00
img
js Bug 37812: (QA follow-up) Add watchers for warning and confirmation prop and initialise modals with bootstrap methods on changes in Dialog.vue 2024-09-20 09:16:04 +01:00
pdf
sound