Koha/catalogue
Jonathan Druart 3115ac641f Bug 18256: Koha::Items - Remove GetItemsCount
C4::Items::GetItemsCount can be replaced with Koha::Biblio->items->count

Test plan:
Create a bibliographic record with items attached
Try to delete the record from a basket (acquisition module), the detail
page and the batch item deletion tool.

=> You should not be able to delete it.

Remove the items and then try again to delete the record

=> Now you must be able to delete it.

Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2017-03-22 19:18:15 +00:00
..
detail.pl
export.pl
getitem-ajax.pl
image.pl
imageviewer.pl Bug 18256: Koha::Items - Remove GetItemsCount 2017-03-22 19:18:15 +00:00
ISBDdetail.pl Bug 18256: Koha::Items - Remove GetItemsCount 2017-03-22 19:18:15 +00:00
issuehistory.pl Bug 17679: C4::Circulation - Remove unused GetItemIssues 2016-12-28 13:52:24 +00:00
itemsearch.pl Bug 16951: Replace some more 2016-12-22 13:40:06 +00:00
labeledMARCdetail.pl Bug 18256: Koha::Items - Remove GetItemsCount 2017-03-22 19:18:15 +00:00
MARCdetail.pl Bug 18256: Koha::Items - Remove GetItemsCount 2017-03-22 19:18:15 +00:00
moredetail.pl Bug 13726: Make Koha::Acq::Bookseller using Koha::Object 2016-12-30 11:54:32 +00:00
search-history.pl
search.pl
showmarc.pl
updateitem.pl