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

--- Comment #15 from Martin Renvoize <martin.renvo...@ptfs-europe.com> ---
Comment on attachment 129663
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=129663
Bug 29906: fix when hold record forcibly gets unwanted "suspended" state

Review of attachment 129663:
 --> 
(https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=29906&attachment=129663)
-----------------------------------------------------------------

::: Koha/REST/V1/Holds.pm
@@ +282,4 @@
>          # suspended_until can also be set to undef
>          my $suspended_until =
>            exists $body->{suspended_until}
> +          ? $body->{suspended_until} && dt_from_string( 
> $body->{suspended_until}, 'rfc3339' )

I don't think we need this line changed.. just the second one.

At least.. it's the second line your test is testing and as Jonathan has
highlighted, it appears you can't unset the suspension by just passing 'null'
to suspend_until at the moment.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to