Bug 31725 - OAI-PMH - Hide items using OpacHiddenItems
Summary: OAI-PMH - Hide items using OpacHiddenItems
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Web services (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-10 00:26 UTC by David Cook
Modified: 2023-06-08 22:26 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:
Circulation function:


Attachments

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