From 90c6e5fc1113461f78b0638aad0f63c69fc00f90 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 14 Jul 2025 15:38:59 +0000 Subject: [PATCH] Bug 15516: (follow-up) Add hold_group_id to hold REST API definition Brought to light by accessing the following page with the feature enabled: http://localhost:8081/cgi-bin/koha/members/holdshistory.pl?borrowernumber=51 Also by running the following tests file before this patch: t/db_dependent/api/v1/holds.t Signed-off-by: Pedro Amorim --- api/v1/swagger/definitions/hold.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/v1/swagger/definitions/hold.yaml b/api/v1/swagger/definitions/hold.yaml index 810f2647db0..36e3b2b31c4 100644 --- a/api/v1/swagger/definitions/hold.yaml +++ b/api/v1/swagger/definitions/hold.yaml @@ -107,6 +107,10 @@ properties: - "null" description: If record level hold, the optional itemtype of the item the patron is requesting + hold_group_id: + type: + - integer + - "null" item_level: type: boolean description: If the hold is placed at item level -- 2.39.5