[Koha-bugs] [Bug 26498] Add option to set a default expire date for holds at reservation time

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 30 14:44:43 CET 2020


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

Emmi Takkinen <emmi.takkinen at outlook.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|koha-bugs at lists.koha-commun |emmi.takkinen at outlook.com
                   |ity.org                     |

--- Comment #4 from Emmi Takkinen <emmi.takkinen at outlook.com> ---
Created attachment 114057
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114057&action=edit
Bug 26498: Set default expiration date for holds

Koha doesn't automatically set expiration date for holds
so they can live in the system forever. This patch adds
new sysprefs to control setting of default expiration
date for holds.

To test:
1. Apply patch (and update database).
2. Enable syspref "DefaultHoldExpirationdate" and set some values
to "DefaultHoldExpirationdatePeriod" and
"DefaultHoldExpirationdateUnitOfTime".
3. Add some holds for patron from staff client or OPAC.
=> Holds expiration date should be set according your settings
4. Disable "DefaultHoldExpirationdate" and add new holds.
=> Expiration date shouldn't be set.

Also prove prove t/db_dependent/Hold.t

Sponsored-by: Koha-Suomi Oy

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