[Koha] Language confusion on the Circ & Fine Rules

Jonathan Druart jonathan.druart at biblibre.com
Fri Sep 14 19:39:52 NZST 2012


> I'm confused by this one. Is this required? I don't have it filled in
> in my test system and it doesn't block me from circulation or holds.

Hi,

If the section "Default checkout, hold and return policy for all libraries"
is not defined, the default values are used.
These default values are hardcoded : the max issue quantity is undef (no
limit), the hold policy = 2 (i.e. holds are allowed for any patron) and the
return policy = homebranch (i.e. items has to be returned to the homebranch)

Regards,
Jonathan

The code is in C4::Circulation:
C4::Circulation::GetBranchItemRule, lines
    # built-in default circulation rule
    $result->{'holdallowed'} = 2 unless ( defined $result->{'holdallowed'}
);
    $result->{'returnbranch'} = 'homebranch' unless ( defined
$result->{'returnbranch'} );
and C4::Circulation::GetBranchBorrowerCircRule line
    # built-in default circulation rule
    return { maxissueqty => undef, };


More information about the Koha mailing list