[Koha-bugs] [Bug 26485] Simplify itemnumber handling in returns.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 1 11:50:24 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26485

--- Comment #8 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Martin Renvoize from comment #6)
> (In reply to Fridolin SOMERS from comment #5)
> > OMG we also need to manage $item object :
> > 
> > grep 'Koha::Items->find' circ/returns.pl 
> >     my $item = Koha::Items->find( $itemnumber );
> >     my $item = Koha::Items->find({ barcode => $barcode });
> >         my $item = Koha::Items->find( $itemnumber );
> >         my $item = Koha::Items->find({ barcode => $bar_code });
> >     my $item_from_barcode = Koha::Items->find({barcode => $barcode }); # How
> > many times do we fetch this item?!?
> 
> Yowsers!.. Lets do this.. perhaps in a new bug

I think there is one already (without patch), but cannot find it.

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


More information about the Koha-bugs mailing list