From 51ad30504cd9e9d03e928e2155e4b9d318657d9d 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 --- 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.2