[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 May 24 09:27:09 CEST 2017


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

Josef Moravec <josef.moravec at gmail.com> changed:

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

--- Comment #21 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 63687
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63687&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

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

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


More information about the Koha-bugs mailing list