Bugzilla – Attachment 129666 Details for
Bug 29906
When changing hold parameters over API (PUT) it forcibly gets to "suspended" state
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29906: (follow-up) Clarify actual code use
Bug-29906-follow-up-Clarify-actual-code-use.patch (text/plain), 910 bytes, created by
Martin Renvoize (ashimema)
on 2022-01-20 15:15:49 UTC
(
hide
)
Description:
Bug 29906: (follow-up) Clarify actual code use
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-01-20 15:15:49 UTC
Size:
910 bytes
patch
obsolete
>From f7ff0b12a38b87e881ed1883e0a62ff4ada71c87 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 20 Jan 2022 15:15:14 +0000 >Subject: [PATCH] Bug 29906: (follow-up) Clarify actual code use > >--- > Koha/REST/V1/Holds.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/REST/V1/Holds.pm b/Koha/REST/V1/Holds.pm >index b8d9a5e5aa..37c0103dc6 100644 >--- a/Koha/REST/V1/Holds.pm >+++ b/Koha/REST/V1/Holds.pm >@@ -282,7 +282,7 @@ sub edit { > # 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' ) >+ ? dt_from_string( $body->{suspended_until}, 'rfc3339' ) > : $hold->suspend_until && dt_from_string( $hold->suspend_until, 'iso' ); > > my $params = { >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29906
:
129619
|
129621
|
129622
|
129626
|
129645
|
129650
|
129651
|
129663
|
129666
|
129898
|
129899