[Koha-bugs] [Bug 11005] Centralize the UseBranchTransferLimits-check under one function
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 23 17:12:45 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11005
Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #21995|0 |1
is obsolete| |
--- Comment #10 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 22320
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22320&action=edit
Bug 11005 [ENH] - Centralize the UseBranchTransferLimits-check under one
function
Created a C4::Circulation::CanItemBeTransferred() as a more convenient branch
transfer check
than the previous multiline if-else mess. This is a more pleasant and readable
approach to generalizing
branch transfer checks accross Koha.
Includes a error message as the return value so the precise reasons for denial
need not be constructed
when needed.
Also a small fix to branchtransfers.pl to make a warning happen only during
debugging.
Unit tests included which test the new C4 function.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list