Bug 17631: Koha::Biblio - Remove GetHolds
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 15 Nov 2016 14:01:41 +0000 (14:01 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 16 Dec 2016 14:54:56 +0000 (14:54 +0000)
commit2f07f7b48eab65f8dbd84f50993e388aff907594
treed640232ee7b6a1b6297f0b5c76e72b9784887935
parent6475f83189f2565173a8deb6b1afd363b84a7607
Bug 17631: Koha::Biblio - Remove GetHolds

C4::Biblio::GetHolds can be replaced with Koha::Biblio->holds->count

Test plan:
Create an order and place a hold on the biblio you have ordered.
On the basket view, you should not be able to Cancel the order and/or
delete the record
Receive the order, on the parcel page you should get the same behavior.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Biblio.pm
acqui/basket.pl
acqui/parcel.pl