[Koha-bugs] [Bug 18256] Koha::Biblio - Remove GetItemsCount

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 13 18:45:12 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18256

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 61048
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61048&action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list