From 49ac4975908b1632a0b73f8912399958f87046ec Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 1 May 2024 13:48:35 +0100 Subject: [PATCH] Bug 36481: (QA follow-up) Rename branch_default to library_default Use agreed terminology Signed-off-by: Martin Renvoize --- Koha/Cash/Register.pm | 5 +++-- api/v1/swagger/definitions/cash_register.yaml | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Koha/Cash/Register.pm b/Koha/Cash/Register.pm index ef83180f326..1f794bfaefb 100644 --- a/Koha/Cash/Register.pm +++ b/Koha/Cash/Register.pm @@ -242,8 +242,9 @@ on the API. sub to_api_mapping { return { - branch => 'library_id', - id => 'cash_register_id', + branch => 'library_id', + id => 'cash_register_id', + branch_default => 'library_default', }; } diff --git a/api/v1/swagger/definitions/cash_register.yaml b/api/v1/swagger/definitions/cash_register.yaml index 6eb39b5a339..8a2a16481b2 100644 --- a/api/v1/swagger/definitions/cash_register.yaml +++ b/api/v1/swagger/definitions/cash_register.yaml @@ -23,9 +23,9 @@ properties: archived: type: boolean description: If this till is archived - branch_default: + library_default: type: boolean - description: If this till is the branch default + description: If this till is the library default additionalProperties: false required: - cash_register_id -- 2.44.0