]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Tue, 21 Dec 2021 13:34:26 +0000 (13:34 +0000)
commitff03a6895f7e8a959ccc4811287b82634e16ec9a
treec780e1c662e88ab2cae36bec8e973e7e359b61e7
parent71f632533b93423761707890edae81950cb8697d
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: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc