]> git.koha-community.org Git - koha.git/commit
Bug 18072: Only accept Koha::Library in parameters
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 19 Sep 2017 13:29:25 +0000 (10:29 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 18 Jul 2018 17:42:47 +0000 (17:42 +0000)
commit904d9d54c9e976d41172bc2387eebf0c73e71a40
tree39f37bdf11de9dfbead4d2b4df27405cd9cc0706
parent6db48e9d21be112880c5ae74640800e30ad42947
Bug 18072: Only accept Koha::Library in parameters

I do not think we should allowed branchode and Koha::Library objects, it
adds confusion in callers (we never know if we have a branchcode of a
library object).

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Biblio.pm
Koha/Item.pm
t/db_dependent/Koha/Biblios.t
t/db_dependent/Koha/Items.t