[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
Wed Mar 19 16:27:11 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11518
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan.druart at biblibre.co
| |m
--- Comment #9 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to M. de Rooy from comment #8)
> QA Comment:
> I like the idea, but I think that we should not route DBIC modules back to
> the "ugly C4::Context module" in order to get a preference. Why not do that
> via DBIC instead here to keep it clean?
> Note that we could get into circular module dependencies trouble quite
> easily when we start using from Koha to C4..
>
> Failed QA
I agree, it is too bad to depend on C4::Context but it is the way to get a
syspref value. Are you suggesting to get the value directly from the DB?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list