]> git.koha-community.org Git - koha.git/commit
Bug 27360: Use 'public' to filter libraries for opac display
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 27 Oct 2021 13:54:43 +0000 (14:54 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 3 Nov 2021 14:40:52 +0000 (15:40 +0100)
commite6e4d74b0f685df1a1ae20f35879989a821135f6
tree65e404221fdd2a644fe5ecd2ce67103db86d1a28
parent568733d1a6d3c3461e6f77bd91938794a24856e6
Bug 27360: Use 'public' to filter libraries for opac display

This patch adds the ability to set a library as 'public' or not; this
allows librarians to hide back office library branches from the opac.

Test plan
1/ Set a library as public from `admin > libraries`.
2/ Navigate to the `Libraries` page in the OPAC
3/ Note that only `public` libraries are displayed.

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
admin/branches.pl
api/v1/swagger/definitions/library.json
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt
opac/opac-library.pl