[Koha-bugs] [Bug 31147] New: Recalls due date to the minute rather than 23:59

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 12 22:42:38 CEST 2022


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

            Bug ID: 31147
           Summary: Recalls due date to the minute rather than 23:59
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

I don't know if this is intended behaviour or a bug.

When placing a recall, the new due date is exactly now + recall due date
interval.

Let's say my recall due date interval is 7 and an item is due 2022-08-31
23:59:00. If I place my recall today (2022-07-12) at 16:31:14, the new due date
will be 2022-07-19 16:31:14.

Like I said, I'm not sure if this is the intended behaviour, but in my very
unknowledgable opinion, I find it a bit extreme to ask someone out of the blue
to return an item by a certain time (to the second).

To test:
1) Turn on recalls
   1.1) In Administration > Global system preferences, enable UseRecalls
   1.2) Add recalls permissions in your circulation rules
2) Find a record with a checked out item; check the due date for that checked
out item, e.g.

SELECT date_due FROM issues WHERE itemnumber = XXXX;

--> It should be YYYY-MM-DD 23:59:00

3) In the OPAC, log in as a patron
4) Find the same record and place a recall
5) Check the new due date
--> It should be today + the number of days you put in recall due date interval
in step 1.2 at the exact time you placed the recall

-- 
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