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

--- Comment #4 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 201888
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201888&action=edit
Bug 43058: Remove C4::Items::get_hostitemnumbers_of

All callers have been migrated to use Koha::Biblio->items({ host_items
=> 1 }) or Koha::Biblio->host_items which delegate to the
MetadataExtractor internally.

Remove the function from C4::Items and its corresponding test from
t/db_dependent/Items.t. The functionality is now covered by tests in:
- t/db_dependent/Reserves.t (CanBookBeReserved with host items)
- t/db_dependent/ILSDI_Services.t (HoldTitle with analytical records)
- t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC/MARC21.t
- t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC/UNIMARC.t

Test plan:
1. Apply this patch
2. Run:
   prove t/db_dependent/Items.t
   => SUCCESS: All 14 tests pass
3. Verify no remaining callers:
   grep -rn get_hostitemnumbers_of --include='*.pm' --include='*.pl'
   => No results

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to