]> git.koha-community.org Git - koha.git/commit
Bug 18259: Koha::Biblio - Remove GetSubscriptionsId
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 13 Mar 2017 18:38:54 +0000 (15:38 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 14 Jul 2017 15:02:30 +0000 (12:02 -0300)
commit035e0beb8cfc1efd2a27836b0a6261010b352bd7
treea8fe64e4ee8f48eb7f0237ad9699fd3903dffc39
parent9f47bd88252e201f9f06fd734dae154d9bc41543
Bug 18259: Koha::Biblio - Remove GetSubscriptionsId

C4::Biblio::GetSubscriptionsId can be replaced using
Koha::Biblio->subscriptions

Test plan:
Create a new order for a bibliographic record
Create a new subscription on this biblio
From the basket (acquisition), confirm that you are not able to delete
the order with the biblio ("Can't cancel order and delete catalog record
1 subscription(s) left")
Receive the order
On the parcel page, confirm that you are not able to delete the order
with the biblio

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Biblio.pm
acqui/basket.pl
acqui/parcel.pl