Bug 31549

Summary: Don't show library in OPAC dropdowns if marked as not public
Product: Koha Reporter: David Cook <dcook>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 27360    
Bug Blocks:    

Description David Cook 2022-09-12 01:18:52 UTC
Bug 27360 added a "Public" flag to the branches table. It would be great to leverage this flag to not display branches in the masthead search branch dropdown and the advanced search branch dropdown. 

Over the past few years, we've had libraries temporarily or permanently close down, and while we want to keep those libraries in the staff interface, we don't want public users to be able to easily see them.
Comment 1 David Cook 2022-09-12 01:19:46 UTC
There are other use cases too. Sometimes there are non-public branches in general, data cleanup to be done for a branch, etc.

You can use OpacHiddenItems to hide all the items for a branch, but you can't currently hide the branch.
Comment 2 Katrin Fischer 2022-09-12 05:59:32 UTC

*** This bug has been marked as a duplicate of bug 12242 ***