[Koha-bugs] [Bug 16852] Remove C4::Members::GetBorrowerCategorycode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 20 02:36:01 CEST 2016


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

Srdjan Jankovic <srdjan at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |srdjan at catalyst.net.nz

--- Comment #2 from Srdjan Jankovic <srdjan at catalyst.net.nz> ---
This would ideally go one step further:

If we are doing Koha::Patrons->find( $data{borrowernumber} ) there's no reason
to do it again a couple of lines below:

C4/Members.pm:

my $rs = $schema->resultset('Borrower')->search({
        borrowernumber => $new_borrower->{borrowernumber},
     });


tools/modborrowers.pl:

Two for my $borrowernumber ( @borrowernumbers ) {} loops should be merged

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


More information about the Koha-bugs mailing list