[Koha-bugs] [Bug 12895] New: Dropbox mode doesn't work correctly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 9 15:39:49 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12895

            Bug ID: 12895
           Summary: Dropbox mode doesn't work correctly
 Change sponsored?: ---
           Product: Koha
           Version: 3.12
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: koha at univ-lyon3.fr
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

When dropbox mode is enabled, if you check in a document with a duedate planned
on previous opening day, the patron is restricted nevertheless.
Seems that the reason why is that the comparison of dates is made fom current
date instead of  last opening date.
Circulation.pm/AddReturn, ligne 1793 :
$issue->{'overdue'} = DateTime->compare($issue->{'date_due'}, $today ) == -1 ?
1 : 0;

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


More information about the Koha-bugs mailing list