[Koha-bugs] [Bug 14828] Move the item types related code to Koha::ItemTypes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 15 18:40:40 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14828

--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 42568
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42568&action=edit
Bug 14828: Use Koha::ItemType[s] everywhere C4::ItemType was used

This patch mainly replaces C4::ItemType->all with
Koha::ItemTypes->search.

Test plan:
At the places where the C4::ItemType module was used, confirm there is
no regression:
- acqui/neworderempty.pl
- catalogue/itemsearch.pl
- admin/item_circulation_alerts.pl
and the 2 cataloguing plugins:
- marc21_linking_section.pl
- unimarc_field_4XX.pl

QA step:
prove t/db_dependent/HoldsQueue.t should return green
Note that the tests were buggy.

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


More information about the Koha-bugs mailing list