[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 20:23:39 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18256
Marc Véron <veron at veron.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #61119|0 |1
is obsolete| |
--- Comment #7 from Marc Véron <veron at veron.ch> ---
Created attachment 61120
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61120&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.
Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron at veron.ch>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list