[Koha-bugs] [Bug 34032] Holds expirationdate left blank if waiting status is reverted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 21 13:37:33 CEST 2023


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

--- Comment #1 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
Created attachment 152516
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152516&action=edit
Bug 34032: Set new expirationdate if waiting status is reverted

When one reverts holds waiting status holds expiration
date is not set even if DefaultHoldExpirationdate
syspref is enabled. This patch adds new param
hold_reverted to be used when RevertWaitingStatus is
used to determine if expiration date should be set again.

To test:
1) Make sure you have DefaultHoldExpirationdate syspref enabled.
2) Find hold with status "Waiting".
3) Revert waiting status.
=> Note that hold has no expiration date set.
4) Apply this patch.
5) Repeat steps 2 and 3.
=> Expiration date should now be set based on reserve
date.

Also prove t/db_dependent/Hold.t.

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


More information about the Koha-bugs mailing list