@@ -, +, @@
---
admin/branches.pl | 1 +
api/v1/swagger/definitions/library.json | 4 ++++
.../prog/en/modules/admin/branches.tt | 22 +++++++++++++++++-
opac/opac-library.pl | 26 +++++++++++++---------
4 files changed, 42 insertions(+), 11 deletions(-)
--- a/admin/branches.pl
+++ a/admin/branches.pl
@@ -84,6 +84,7 @@ if ( $op eq 'add_form' ) {
opac_info
marcorgcode
pickup_location
+ public
);
my $is_a_modif = $input->param('is_a_modif');
--- a/api/v1/swagger/definitions/library.json
+++ a/api/v1/swagger/definitions/library.json
@@ -88,6 +88,10 @@
"type": "boolean",
"description": "If the library can act as a pickup location"
},
+ "public": {
+ "type": "boolean",
+ "description": "If the library is visible to the public"
+ },
"smtp_server": {
"type": ["object", "null"],
"description": "The library effective SMTP server"
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt
@@ -265,6 +265,17 @@ Libraries › Administration › Koha
[% END %]
+
+
+