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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 15 19:59:19 CET 2017


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #61052|0                           |1
        is obsolete|                            |

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