Bug 31725

Summary: OAI-PMH - Hide items using OpacHiddenItems
Product: Koha Reporter: David Cook <dcook>
Component: Web servicesAssignee: Bugs List <koha-bugs>
Status: CLOSED WORKSFORME QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31161
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description David Cook 2022-10-10 00:26:29 UTC
I first mentioned this on Bug 31161, since OpacHiddenItems can hide bib records too via OpacHiddenItemsHidesRecord.

However, the actual mechanism for hiding the items is separate to hiding bib records, so I thought I'd explore this separately.

The function to look at here is Koha::OAI::Server::Repository->get_biblio_marcxml()
Comment 1 David Cook 2022-10-11 05:12:56 UTC
Actually, it looks like C4::Biblio::EmbedItemsInMarcBiblio hides items using OpacHiddenItems, when called by C4::Biblio::GetMarcBiblio, which is called by Koha::OAI::Server::Repository->get_biblio_marcxml()