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

--- Comment #22 from Jonathan Druart <[email protected]> 
---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to