https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43058 --- Comment #2 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 201886 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201886&action=edit Bug 43058: Migrate C4::ILSDI::Services from get_hostitemnumbers_of to Koha::Biblio->items HoldTitle() in C4::ILSDI::Services used get_hostitemnumbers_of to manually build a combined item search. Replace it with Koha::Biblio->items({ host_items => 1 }) which already handles the EasyAnalyticalRecords preference and host item lookup. Also removes the now-unused C4::Items import from this module. Test plan: 1. Apply this patch 2. Run: prove t/db_dependent/ILSDI_Services.t => SUCCESS: All tests pass (note: test 17 'no warnings' is a pre-existing failure unrelated to this change) 3. Note the new subtest 'HoldTitle with analytical records (host items)' which verifies: - HoldTitle finds host items for analytic records - Returns NoItems when EasyAnalyticalRecords is off -- You are receiving this mail because: You are watching all bug changes.