]> git.koha-community.org Git - koha.git/commit
Bug 9565: Deleting a biblio should alert/fail if there are existent subscriptions
authorTimothy Alexis Vass <timothy_alexis.vass@ub.lu.se>
Fri, 13 Nov 2020 09:47:32 +0000 (09:47 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 17 Dec 2021 13:39:12 +0000 (08:39 -0500)
commit378218a6956cc7e88ab5bda8685cd5971cc9c412
tree3dabf38d78af8b70e58d6aaa037b8e827d3af811
parentabe9abf47083d26300a4e09100ba362e6facf6dc
Bug 9565: Deleting a biblio should alert/fail if there are existent subscriptions

Currently Koha will delete a biblio record if there are existent serial subscriptions.
This patch will prevent deleting the biblio until attached subscriptions are removed.

To test:
1) Add a subscription to a biblio, or check a biblio which has one attached already.
2) Remove all items if there are any.
3) Apply patch.
4) Confirm that the 'Delete record' item is disabled in the list.
5) Sign off.

Sponsored by: Lunds Universitetsbibliotek

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Frank Hansen <frank.hansen@ub.lu.se>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc