https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42563 --- Comment #2 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 198844 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198844&action=edit Bug 42563: Add get_host_itemnumbers to MetadataExtractor Adds get_host_itemnumbers() to the MARC21 (773$9) and UNIMARC (461$9) metadata extractors. Refactors Koha::Biblio::_host_itemnumbers to use the extractor instead of inline MARC parsing. The existing Koha::Biblio->host_items method and its callers are unchanged -- only the internal implementation moves to the extractor. Assisted-by: Sonnet 4.6 (Anthropic) Test plan: 1. Apply patch 2. Run: $ ktd --shell k$ prove t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC/MARC21.t \ t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC/UNIMARC.t => SUCCESS: Extractor tests pass k$ prove t/db_dependent/Koha/Biblio.t => SUCCESS: host_items() subtest passes 3. Sign off :-D -- You are receiving this mail because: You are watching all bug changes.