[Koha-bugs] [Bug 17627] Move C4::Koha::GetItemTypesByCategory to Koha::ItemTypes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 15 11:19:40 CET 2016


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 57479
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57479&action=edit
Bug 17627: Move C4::Koha::GetItemTypesByCategory to Koha::ItemTypes

C4::Koha::GetItemTypesByCategory can be easily replaced with
Koha::ItemTypes->search({ searchcategory => ? });

So let's replace it where it is used.

Test plan:
Make sure this patch does not break the test plan of bug 10937

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


More information about the Koha-bugs mailing list