[Koha-bugs] [Bug 10628] AutomaticItemReturn prevents holds queue from filling local holds with local items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 25 04:49:50 CEST 2013


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

Srdjan Jankovic <srdjan at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |srdjan at catalyst.net.nz

--- Comment #4 from Srdjan Jankovic <srdjan at catalyst.net.nz> ---
my ($self) = grep( /$to/, @$from );
looks a bit inefficient. Would you consider replacing with
my $self;
foreach (@$from) {
    if ($_ eq $to) {
        $self = $to;
        last;
    }
}

or maybe even better
List::MoreUtils::any()

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


More information about the Koha-bugs mailing list