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

            Bug ID: 15757
           Summary: Hard coded due loan/renewal period of 21 days if no
                    circ rule found in C4::Circulation::GetLoanLength
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: blocker
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

A library reported recently that an item with circulation period set to 0 for
all patron categories with a few exceptions set was checked out and was given a
checkout period of 21 days.  This comes from the last lines in the
GetLoanLength subroutine:

1475     # if no rule is set => 21 days (hardcoded)
1476     return {
1477         issuelength => 21,
1478         renewalperiod => 21,
1479         lengthunit => 'days',
1480     };
1481 


This should fire a1475     # if no rule is set => 21 days (hardcoded)
1476     return {
1477         issuelength => 21,
1478         renewalperiod => 21,
1479         lengthunit => 'days',
1480     };
1481  warning and/or stop the checkout rather than defaulting.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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