From cbf6acbe7a07f8ed2bb1c3763c6ec155f3eaf80b Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Thu, 5 Sep 2024 18:47:20 +0000 Subject: [PATCH] Bug 37850: Add branchillemail to libraries public REST endpoint To test, before applying patch: 1) Visit /api/v1/public/libraries 2) Notice illemail is not shown for each library 3) Apply patch. Restart plack 4) Repeat 1). Notice illemail is now shown for each library Signed-off-by: Maryse Simard Signed-off-by: Kyle M Hall Signed-off-by: Katrin Fischer --- Koha/Library.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Koha/Library.pm b/Koha/Library.pm index e9a53fd939..2fb7e4fef3 100644 --- a/Koha/Library.pm +++ b/Koha/Library.pm @@ -335,7 +335,8 @@ sub public_read_list { 'branchcode', 'branchname', 'branchaddress1', 'branchaddress2', 'branchaddress3', 'branchzip', 'branchcity', 'branchstate', 'branchcountry', - 'branchfax', 'branchemail', 'branchurl' + 'branchfax', 'branchemail', 'branchurl', + 'branchillemail' ]; } -- 2.39.5