[Koha-bugs] [Bug 14310] Add ability to suspend and resume individual holds from the patron holds table
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 19 15:07:00 CET 2016
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14310
--- Comment #45 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to Jonathan Druart from comment #38)
> Comment on attachment 46862 [details] [review]
> Bug 14310 [QA Followup] - Adapt existing code to use new methods
>
> Review of attachment 46862 [details] [review]:
> -----------------------------------------------------------------
>
> ::: C4/Reserves.pm
> @@ +1178,4 @@
> > } else {
> > + # FIXME: Why are we doing this? Should this be resuming the hold,
> > + # or maybe suspending it indefinitely?
> > + $hold->set( { suspend_until => undef } )->store();
>
> Indeed, this is weird.
> If suspend_until is defined, it should be a date.
I've found the one and only path that executes this code. If you have a
suspended hold with a resume date, and clear the resume date, then click
"Update hold(s)" the action is to change the suspension from one with a resume
date to an indefinite suspension! I'll update the FIXME to document this
instead.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list