[Koha-bugs] [Bug 11702] Can't specify date for automatic resumption of suspended hold

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 6 18:30:56 CET 2014


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 25103
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25103&action=edit
Bug 11702 - Can't specify date for automatic resumption of suspended hold

When suspending an individual hold in the OPAC or staff client the date
of resumption is saved as '000-00-00' no matter what dateformat setting
you use. This is not true of performing a suspend-all action.

This patch changes the date handling in C4::Reserves::ToggleSuspend to
match that in C4::Reserves::SuspendAll.

To test in the OPAC:

1. Turn on RequestOnOpac, AutoResumeSuspendedHolds, and
   SuspendHoldsOpac.
2. Log in to the OPAC and place a hold.
3. View the list of your existing holds (opac-user.pl).
4. Choose an individual hold to suspend, specify a suspend-until date,
   and submit.
5. When the page reloads the suspension should be saved with the correct
   resumption date.

Test using all dateformat system preference options. Also test
suspensions without resumption dates.

To test in the staff client:

1. Turn on AutoResumeSuspendedHolds and SuspendHoldsIntranet.
2. Place a hold for a patron, or find an existing hold.
3. View the hold details page for that hold
   (/cgi-bin/koha/reserve/request.pl?biblionumber=XX).
4. Specify a suspend-until date for the hold and submit.
5. When the page reloads the hold should say "Unsuspend on" and show the
   correct resumption date.

Test using all dateformat system preference options. Also test
suspensions without resumption dates.

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


More information about the Koha-bugs mailing list