[Koha-bugs] [Bug 21075] New: AutoUnsuspendHolds should unsuspend holds <= today

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 13 16:44:13 CEST 2018


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

            Bug ID: 21075
           Summary: AutoUnsuspendHolds should unsuspend holds <= today
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Hold requests
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

This is an issue because of the datepicker on the holds page in intranet - it
doesn't allow you to select today's date, so it sets the date to tomorrow, if
you then update another hold you have just extended the suspension - and it can
keep happening.  

To recreate:
1 - Place a hold in your system
2 - Set that hold (or all holds) to expire today
    update reserves set suspend_until=CONCAT( CURDATE()," 00:00:00");
3 - Run misc/cronjobs/holds/auto_unsuspend_holds.p
4 - Note the hold is sitll suspended
5 - Visit /cgi-bin/koha/reserve/request.pl for the book with the hold
6 - Note the suspend date is tomorrow (and cannot be set to today]
7 - Click update holds - the date in db is now set to tomorrow

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