[Koha-bugs] [Bug 18072] Add Koha objects for Branch Transfer Limits

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 1 15:51:27 CET 2017


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

Lari Taskula <lari.taskula at jns.fi> changed:

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

--- Comment #15 from Lari Taskula <lari.taskula at jns.fi> ---
Created attachment 60784
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=60784&action=edit
Bug 18072: Add Koha::Biblio->can_be_transferred

This patch adds a new method Koha::Biblio->can_be_transferred. The method
checks
if at least one of the item of that biblio can be transferred to desired
location.

This method will be useful for building a smarter pickup location list for
holds,
because we will be able to hide those libraries to which none of the items of
this biblio can be transferred to due to branch transfer limits (see Bug 7614).

To test:
1. prove t/db_dependent/Koha/Biblios.t

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list