[Koha-bugs] [Bug 31161] OAI-PMH - Add ability to exclude suppressed records in output

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 11 08:17:51 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31161

--- Comment #16 from David Cook <dcook at prosentient.com.au> ---
All right... that wasn't so bad in the end.

A bit of code in C4::Biblio::GetMarcBiblio, C4::Biblio::EmbedItemsInMarcBiblio,
Koha::OAI::Server::GetRecord->new, and
Koha::OAI::Server::Repository->get_biblio_marcxml

--

There are no new database calls (only syspref calls to cache), so the only
overhead added is CPU time and that will be negligible.

--

One could argue that there are alternatives to my hashref parameter idea, but
it works.

I'll likely be implementing this locally in 21.11 tomorrow night. 

--

I've run out of time today but it shouldn't be a big drama to add unit tests
(at least for the C4::Biblio code).

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list