Bug 41041 - Item type configured to hide item from OPAC, but shows in facets!
Summary: Item type configured to hide item from OPAC, but shows in facets!
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: 23.11
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-17 05:56 UTC by cgresser
Modified: 2025-10-17 05:56 UTC (History)
0 users

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Screenshot shows facet of hidden from OPAC item type (134.36 KB, image/png)
2025-10-17 05:56 UTC, cgresser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cgresser 2025-10-17 05:56:24 UTC
Created attachment 188044 [details]
Screenshot shows facet of hidden from OPAC item type

We have defined an item type which should be hidden on OPAC, yet as there are other items under the same biblio record they showed up, and then the facet for this item type showed on OPAC too.

To add an option to configuration of item type to hide the facet for an item type from OPAC.

Open Fifth created a workaround in
OpacUserJS system preference to hide this facet from display:

/* Hide Hidden itype from facets */
$("#itype_id > ul > li:has(span:contains('Item type hidden from OPAC'))").remove();

but it would be better if Koha did this as "out-of-the-box".

I attach a screenshot of proof how it looked before Open Fifth applied the workaround to the display.