[Koha-bugs] [Bug 31335] New: unnecessary holds fetch in serials/routing-preview.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Aug 10 12:33:25 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31335
Bug ID: 31335
Summary: unnecessary holds fetch in serials/routing-preview.pl
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: jonathan.druart+koha at gmail.com
Reporter: jonathan.druart+koha at gmail.com
QA Contact: testopia at bugs.koha-community.org
The following code is not needed.
my $holds = $biblio->current_holds;
my $count = $holds->count;
while ( my $hold = $holds->next ) {
$count-- if $hold->is_waiting;
}
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list