Bug 34478: Corrections to add and delete of OAI sets
authorOwen Leonard <oleonard@myacpl.org>
Fri, 16 Feb 2024 14:18:06 +0000 (14:18 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Mar 2024 09:59:34 +0000 (10:59 +0100)
commitcb1f73b1bc3cdf56be5f44261621512dfa92c7cd
treecb660ea95eb330b7b476ac611c8a358d173e8efa
parentecbb2f9a526f919d4d61c500448aded05ed6e199
Bug 34478: Corrections to add and delete of OAI sets

This patch makes two changes: The first changes the name of the op value
matched in the script when editing a set. The "mod" step is a GET
operation to load the edit form.

The second change is a workaround for the fact that a submit
button looks bad in a Bootstrap dropdown. The patch creates a hidden
form for deletion operations. Clicking a "delete" link in a dropdown
fills the hidden form with the OAI set id to be deleted and submits it.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
admin/oai_sets.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt