[Koha-bugs] [Bug 29476] New: Earliest renewal date is displayed wrong in circ/renew.pl for issues with auto renewing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Nov 14 14:16:03 CET 2021


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

            Bug ID: 29476
           Summary: Earliest renewal date is displayed wrong in
                    circ/renew.pl for issues with auto renewing
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: joonas.kylmala at iki.fi
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

The code in circ/renew.pl uses the code C4::Circulation::GetSoonestRenewDate to
check the soonest renewal date and then displays it to the librarian. However,
the code called by CanBookBeRenewed() that actually does the final check uses
different calculation method for issues with auto renewal enabled. For auto
renewed issues without circulation rules defined for soonest renewal date the
soonest renewal date is the due date, in normal loans case the soonest renewal
date is NOW(). This is not probably a too big annoyance to librarians, I just
wanna clean up this so I can refactor some code in CanBookBeRenewed, will
attach a patch shortly.

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


More information about the Koha-bugs mailing list