[Koha-bugs] [Bug 24680] Hold modification endpoints don't always work properly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 26 10:28:07 CET 2020


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

--- Comment #28 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
About suspend_until:

+    my $suspended_until   = exists $body->{suspended_until} ?
$body->{suspended_until} : $hold->suspend_until;

then

+        suspend_until => $suspended_until ?
output_pref(dt_from_string($suspended_until, 'rfc3339')) : '',

last '' must be undef I'd say.

I wanted to confirm that with the tests, but then realised that there is no
test for PUT and suspend_until..

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


More information about the Koha-bugs mailing list