[Koha-bugs] [Bug 18247] Remove SQL queries from branch_transfer_limit.pl administrative script

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 3 00:01:09 CEST 2017


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

--- Comment #9 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
The Get* method you added with this patch can be replaced with
Koha::YourObjects->find, or ->search
No need to add new methods.

For instance GetBranchCodes can be replaced with
my @branchcodes = Koha::Libraries->search->get_column('branchcode');

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


More information about the Koha-bugs mailing list