[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 Apr 17 11:56:42 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18254
Alex Buckley <alexbuckley at catalyst.net.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #61041|0 |1
is obsolete| |
--- Comment #2 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
Created attachment 62207
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62207&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.
Signed-off-by: Alex Buckley <alexbuckley at catalyst.net.nz>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list