[Koha-bugs] [Bug 31654] Hide non-public libraries from MastheadLibraryPulldown

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 5 12:15:56 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31654

--- Comment #6 from Thomas Klausner <domm at plix.at> ---
Created attachment 141335
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141335&action=edit
Bug 31654: Hide non-public libraries from MastheadLibraryPulldown
(bug_31654_hide_nonpublic_libs)

Do not list library in masthead and advanced search if branches.public is false

Test Plan:

* Set OpacAddMastheadLibraryPulldown to "Add"
* Go to Administration -> Libraries, edit "Fairfield", set "public" = "no" (at
the end of the form)
* Or connect to DB and run
  update branches set public = 0 where branchcode like 'F%';
  This will set all three libraries starting with F to non-public
* open OPAC
* The "All libraries" Pulldown in the Header (between search slot and search
button) still shows the non-public libraries
* Go to OPAC -> Advanced Search, scroll to "Location and availability": The
selectbox still shows the non-public libraries

Now apply the patch

* Open OPAC
* The "All libraries" Pulldown in the Header now should not contain the
libraries set to "public = no"
* And in the Advanced Search "Location and availability" pulldown those
libraries should also not be shown.

Sponsored-by: Steiermärkische Landesbibliothek

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list