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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 30 17:55:54 CEST 2020


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

--- Comment #5 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
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?!?

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


More information about the Koha-bugs mailing list