Bugzilla – Attachment 192029 Details for
Bug 41700
Checkouts note_date has incorrect format in swagger definitions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41700: Update note_date to datetime
51055dc.patch (text/plain), 1.38 KB, created by
Tomás Cohen Arazi (tcohen)
on 2026-01-26 13:59:03 UTC
(
hide
)
Description:
Bug 41700: Update note_date to datetime
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2026-01-26 13:59:03 UTC
Size:
1.38 KB
patch
obsolete
>From 51055dc01c4406e673a241d149856736ab2b8105 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 23 Jan 2026 19:46:43 +0000 >Subject: [PATCH] Bug 41700: Update note_date to datetime >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch updates the swaager definition to have the correct format > >To test: >1 - Enable issue notes: AllowCheckoutNotes preference >2 - Issue an item to a patron >3 - Sign in to opac as that patron, add a note >4 - Have staff client open and a second tab try: > http://localhost:8081/api/v1/checkouts/ >5 - Error "message":"Does not match date format.","path":"\/body\/0\/note_date" >6 - Apply patch, yarn build, restart all >7 - Refresh the page >8 - Success! > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io> >--- > api/v1/swagger/definitions/checkout.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/api/v1/swagger/definitions/checkout.yaml b/api/v1/swagger/definitions/checkout.yaml >index 0879ddc515..3829255ffa 100644 >--- a/api/v1/swagger/definitions/checkout.yaml >+++ b/api/v1/swagger/definitions/checkout.yaml >@@ -89,7 +89,7 @@ properties: > type: > - string > - "null" >- format: date >+ format: date-time > description: Datetime of the issue note > note_seen: > type: >-- >2.50.1 (Apple Git-155) >
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 41700
:
191985
|
191986
|
191987
|
191988
|
192029
|
192030
|
192135
|
192136