]> git.koha-community.org Git - koha.git/commit
Bug 18072: (QA follow-up) let Koha::Item->can_be_transferred take HASHref as param
authorLari Taskula <lari.taskula@jns.fi>
Fri, 10 Feb 2017 13:08:47 +0000 (15:08 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 18 Jul 2018 17:42:33 +0000 (17:42 +0000)
commit118a714c1d8bfe646fac9aa37f4a38a02e2035be
treef6fba082e6c17b87945293e15a357b079033c028
parentd8e562a218d2c8acaae865890face7ea06ee062d
Bug 18072: (QA follow-up) let Koha::Item->can_be_transferred take HASHref as param

This patch changes Koha::Item->can_be_transferred to accept a HASHref as follows:
$item->can_be_transferred({ to => $library, from => $library2 })

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

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Item.pm
t/db_dependent/Koha/Items.t