[Koha-bugs] [Bug 14694] Make decreaseloanHighHolds more flexible

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 30 10:52:35 CET 2015


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

--- Comment #22 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Kyle M Hall from comment #20)
> > > ::: Koha/Biblio.pm
> > > @@ +41,5 @@
> > > > +or list of Koha::Item objects in list context.
> > > > +
> > > > +=cut
> > > > +
> > > > +sub items {
> > > 
> > > Wouldn't be better to use a DBIx::Class relation?
> > > Something like bug 14819.
> 
> No, we want to return a Koha::Object object, not a DBIC object. It would be
> most confusing if a Koha::Object method were to return a DBIC object instead
> of a Koha Object.

And what about using the _wrap method?
I am afraid that we are going to introduce quickly circular dependencies in the
Koha namespace if we follow this way.

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


More information about the Koha-bugs mailing list