[Koha-bugs] [Bug 14598] itemtype is not set on statistics by C4::Circulation::AddReturn
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 20 19:02:23 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14598
--- Comment #109 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Tomás Cohen Arazi from comment #108)
> (In reply to Jonathan Druart from comment #107)
> > (In reply to Tomás Cohen Arazi from comment #106)
> > > I'm abandoning this bug. It went too far.
> >
> > C'mon!!! :)
> >
> > Question 1 on comment 102 was
> >
> > > C4/Circulation.pm
> > > 1868 my $biblio = $item_level_itypes ? undef : GetBiblioData( $item->{
> > > biblionumber } ); # don't get bib data unless we need it
> > >
> > > Should not we use GetBiblioItemByBiblioNumber instead to avoid 2 left joins
> > > per return?
> >
> > If you think I am right, I can provide a patch for that.
>
> You are right :-D
Forget that, GetBiblioItemByBiblioNumber has a weird return.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list