[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
Mon Sep 11 20:39:42 CEST 2017


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

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

--- Comment #28 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 67053
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67053&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>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list