]> git.koha-community.org Git - koha.git/commit
Bug 38309: Cannot delete additional fields
authorPhil Ringnalda <phil@chetcolibrary.org>
Fri, 1 Nov 2024 02:44:35 +0000 (19:44 -0700)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 7 Nov 2024 16:32:40 +0000 (17:32 +0100)
commitd5fbb1e87c6964b27b7d9829ca41e40f49869009
treea18dcc2dbbde678c5203ce82dfb469078faa9f4d
parenta262ffbdfa2adf54f36774547fd95c30b83ed8c6
Bug 38309: Cannot delete additional fields

Deleting an additional field tries to do a GET of ?op=delete... which no
longer works with CSRF protection. It needs to be a POST with op=cud-delete.

Test plan:
 1. Administration - Additional fields, click any table name
 2. New field, fill in a name and Save
 3. In the row for your field, click Delete
 4. You have a blank page
 5. Apply patch, click the browser Back button, refresh the page
 6. In the row for your undeleted field, click Delete
 7. Your field is deleted

Sponsored-by: Chetco Community Public Library
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/additional-fields.tt