[Koha-bugs] [Bug 7317] Add an Interlibrary Loan Module to Circulation and OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 2 10:21:49 CEST 2017


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

--- Comment #27 from Alex Sassmannshausen <alex.sassmannshausen at ptfs-europe.com> ---
(In reply to Magnus Enger from comment #24)
> I think I foud a problem in Koha/Illrequest.pm, about line 646. In this
> block of code: 
> 
>     # Almost there, but category code didn't quite work.
>     my ( $branch_limit, $brw_limit )
>         = ( $branch_rules->{count}, $brw_rules->{count} );
>     my ( $branch_count, $brw_count ) = (
>         $self->_limit_counter(
>             $branch_rules->{method}, { branch_id => $branchcode }
>         ),
>         $self->_limit_counter(
>             $brw_rules->{method}, { borrower_id => $patron->borrowernumber }
>         ),
>     );
> 
> branch_id should be branchcode, and borrower_id should be borrowernumber, I
> think?

You are absolutely right!  I have committed a fix in my dev branch and hope to
push the new additions later today.

Alex

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


More information about the Koha-bugs mailing list