[Koha-bugs] [Bug 11518] Add new method to Koha::Schema::Result::Item that will always return the correct itemtype

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 10 14:07:21 CET 2014


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

--- Comment #3 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 24121
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24121&action=edit
Bug 11518 - Add new method to Koha::Schema::Result::Item that will always
return the correct itemtype

There are many disparate areas of Koha that deal with item level
itemtypes vs record level itemtypes. We can take advantage of
DBIx::Class to make smarter objects that automatically return the
correct value depending on the system preference.

Test Plan:
1) Apply this patch
2) Run t/db_dependent/Items.t

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


More information about the Koha-bugs mailing list