Bug 39830

Summary: Add order claim object definition
Product: Koha Reporter: Tomás Cohen Arazi (tcohen) <tomascohen>
Component: REST APIAssignee: Tomás Cohen Arazi (tcohen) <tomascohen>
Status: RESOLVED FIXED QA Contact: Martin Renvoize (ashimema) <martin.renvoize>
Severity: enhancement    
Priority: P5 - low CC: emmi.takkinen, fridolin.somers, kyle, Laura.escamilla, martin.renvoize, tomascohen
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
25.11.00, 25.05.00
Circulation function:
Bug Depends on:    
Bug Blocks: 32266    
Attachments: Bug 39830: Add order claim object definition
Bug 39830: Add order claim object definition
Bug 39830: Add order claim object definition

Description Tomás Cohen Arazi (tcohen) 2025-05-05 11:24:57 UTC

    
Comment 1 Tomás Cohen Arazi (tcohen) 2025-05-05 11:29:58 UTC
Created attachment 181907 [details] [review]
Bug 39830: Add order claim object definition

This patch adds the required mapping in
`Koha::Acquisition::Order::Claim` and adds it's definition to the API
spec.

To test:
1. Apply the patches
2. Verify the mapping makes sense and conforms to the current style and
   API coding guidelines.
3. Run:
   $ ktd --shell
  k$ prove xt/api.t
=> SUCCESS: Tests pass
4. Sign off :-D
Comment 2 Emmi Takkinen 2025-05-08 06:22:39 UTC
Created attachment 182062 [details] [review]
Bug 39830: Add order claim object definition

This patch adds the required mapping in
`Koha::Acquisition::Order::Claim` and adds it's definition to the API
spec.

To test:
1. Apply the patches
2. Verify the mapping makes sense and conforms to the current style and
   API coding guidelines.
3. Run:
   $ ktd --shell
  k$ prove xt/api.t
=> SUCCESS: Tests pass
4. Sign off :-D

Signed-off-by: Emmi Takkinen <emmi.takkinen@koha-suomi.fi>
Comment 3 Martin Renvoize (ashimema) 2025-09-22 21:23:26 UTC
Created attachment 186770 [details] [review]
Bug 39830: Add order claim object definition

This patch adds the required mapping in
`Koha::Acquisition::Order::Claim` and adds it's definition to the API
spec.

To test:
1. Apply the patches
2. Verify the mapping makes sense and conforms to the current style and
   API coding guidelines.
3. Run:
   $ ktd --shell
  k$ prove xt/api.t
=> SUCCESS: Tests pass
4. Sign off :-D

Signed-off-by: Emmi Takkinen <emmi.takkinen@koha-suomi.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Comment 4 Lucas Gass (lukeg) 2025-09-29 20:06:11 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 5 Laura Escamilla 2026-01-05 15:37:07 UTC
This change has been backported to the 25.05.x branch. Thank you!
Comment 6 Fridolin Somers 2026-01-06 08:16:00 UTC
@Laura :
"Version(s) released in" is future release tag, so 25.05.07