]> git.koha-community.org Git - koha.git/commit
Bug 13030: Show waiting hold expiration date for waiting holds on circulation.pl
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 8 Oct 2014 16:04:35 +0000 (12:04 -0400)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Tue, 11 Aug 2015 17:47:22 +0000 (14:47 -0300)
commitf081063d72e7e03de179b096f2bbe425ed264505
treeeca89b23ee16b20c7305a0236c78674af327906a
parent78d83e06410739bf731cccee30c6cec446196609
Bug 13030: Show waiting hold expiration date for waiting holds on circulation.pl

We should show the date a waiting hold is set to expire for each hold in
the list of waiting holds in circulation.pl

Test Plan:
1) Apply this patch
2) Find a waiting hold for a patron, browser to circulation.pl
   for that patron
3) Set system preference ReservesMaxPickUpDelay to 5
4) Refresh circulation.pl, note the waiting holds now display a
   "waiting until" part with the waiting date plus 5 days
5) Set system preference ReservesMaxPickUpDelay to 0 ( or empty
   string )
6) Refresh circulation.pl, note the waiting hols no longer have a
   "waiting until" line.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Followed test plan successfully. Automated tests successful.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Cathi Wiggins <CWIGGINS@ci.arcadia.ca.us>
Signed-off-by: Megan Wianecki <mwianecki@mplmain.mtpl.org>
Bug 13030 [QA Followup] - Fix unit tests

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
Koha/Hold.pm
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
t/db_dependent/Hold.t [new file with mode: 0755]