Bugzilla – Attachment 182042 Details for
Bug 32266
Make the late orders page render using the API
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32266: Add more embed options to orders and baskets
Bug-32266-Add-more-embed-options-to-orders-and-bas.patch (text/plain), 2.91 KB, created by
Tomás Cohen Arazi (tcohen)
on 2025-05-07 19:08:15 UTC
(
hide
)
Description:
Bug 32266: Add more embed options to orders and baskets
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2025-05-07 19:08:15 UTC
Size:
2.91 KB
patch
obsolete
>From 1ac153706574527236b7d7753b25a65190f54b1e Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 30 Apr 2025 15:10:40 -0300 >Subject: [PATCH] Bug 32266: Add more embed options to orders and baskets > >This patch adds the ability to embed: > >Orders: > >* basket.vendor >* basket.authorizer+strings >* claims+count > >Baskets: > >* vendor >* authorizer+strings >--- > api/v1/swagger/definitions/basket.yaml | 5 +++++ > api/v1/swagger/paths/acquisitions_baskets.yaml | 2 ++ > api/v1/swagger/paths/acquisitions_orders.yaml | 6 ++++++ > 3 files changed, 13 insertions(+) > >diff --git a/api/v1/swagger/definitions/basket.yaml b/api/v1/swagger/definitions/basket.yaml >index af08323abd8..d45debf935a 100644 >--- a/api/v1/swagger/definitions/basket.yaml >+++ b/api/v1/swagger/definitions/basket.yaml >@@ -89,4 +89,9 @@ properties: > - integer > - "null" > description: The number of days the basket is late (x-koha-embed) >+ authorizer: >+ type: >+ - object >+ - "null" >+ description: The authorizing patron (x-koha-embed) > additionalProperties: false >diff --git a/api/v1/swagger/paths/acquisitions_baskets.yaml b/api/v1/swagger/paths/acquisitions_baskets.yaml >index d3fb3e8dcd9..6becd0df874 100644 >--- a/api/v1/swagger/paths/acquisitions_baskets.yaml >+++ b/api/v1/swagger/paths/acquisitions_baskets.yaml >@@ -22,9 +22,11 @@ > items: > type: string > enum: >+ - authorizer+strings > - basket_group > - creator > - late_since_days >+ - vendor > collectionFormat: csv > produces: > - application/json >diff --git a/api/v1/swagger/paths/acquisitions_orders.yaml b/api/v1/swagger/paths/acquisitions_orders.yaml >index 36a5e5df86e..05414292729 100644 >--- a/api/v1/swagger/paths/acquisitions_orders.yaml >+++ b/api/v1/swagger/paths/acquisitions_orders.yaml >@@ -73,14 +73,17 @@ > type: string > enum: > - basket >+ - basket.authorizer+strings > - basket.basket_group > - basket.creator > - basket.late_since_days >+ - basket.vendor > - biblio > - biblio.uncancelled_orders+count > - biblio.holds+count > - biblio.items+count > - biblio.suggestions.suggester >+ - claims+count > - creator > - fund > - fund.budget >@@ -201,14 +204,17 @@ > type: string > enum: > - basket >+ - basket.authorizer+strings > - basket.basket_group > - basket.creator > - basket.late_since_days >+ - basket.vendor > - biblio > - biblio.uncancelled_orders+count > - biblio.holds+count > - biblio.items+count > - biblio.suggestions.suggester >+ - claims+count > - fund > - current_item_level_holds+count > - invoice >-- >2.49.0
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 32266
:
144145
|
144165
|
144699
|
182041
| 182042 |
182043
|
182269