[Koha-bugs] [Bug 29475] New: opac-user.pl checks renewability even if patron expired and expired patrons blocked from renewal

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Nov 13 21:10:59 CET 2021


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

            Bug ID: 29475
           Summary: opac-user.pl checks renewability even if patron
                    expired and expired patrons blocked from renewal
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

Found while working on bug 29474:

CanBookBeRenewed performs a check on whether the patron is blocked from
renewing, however, it only does this check for auto_renewals. This would seem
like a bug, however, the template opac-user.tt performs a check and simply
removes any renewal options at display

opac-renew.pl does the check in the script, so the renewal can stil not be
performed, however, checking renewability in opac-user.pl is not optimal for
performance

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


More information about the Koha-bugs mailing list