[Koha-bugs] [Bug 18254] Remove C4::Items:: GetItemsByBiblioitemnumber call from additem.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 13 16:29:06 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18254
--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 61041
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61041&action=edit
Bug 18254: Remove call to GetItemsByBiblioitemnumber call from additem.pl
The code from additem to delete all the items of a bibliographic record
is very ackward.
This patch simplifies the algorithm and make the code more readable.
Test plan:
Remove all the items of a bibliographic records
If at least 1 item is checked out you should get an error.
No change with the current behavior is expected.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list