Bugzilla – Attachment 191985 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
Bug-41700-Update-notedate-to-datetime.patch (text/plain), 1.17 KB, created by
Nick Clemens (kidclamp)
on 2026-01-23 19:55:35 UTC
(
hide
)
Description:
Bug 41700: Update note_date to datetime
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2026-01-23 19:55:35 UTC
Size:
1.17 KB
patch
obsolete
>From 06bfda5a91023cd04551bc59474f725900eeee8c 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 > >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! >--- > 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 0879ddc5158..3829255ffad 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.39.5
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