Bug 31549 - Don't show library in OPAC dropdowns if marked as not public
Summary: Don't show library in OPAC dropdowns if marked as not public
Status: RESOLVED DUPLICATE of bug 12242
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on: 27360
Blocks:
  Show dependency treegraph
 
Reported: 2022-09-12 01:18 UTC by David Cook
Modified: 2022-09-12 05:59 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***