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

--- Comment #27 from Alex Sassmannshausen 
<[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to