[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:47:44 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26485
--- Comment #6 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
(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
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list