From: erickson Date: Thu, 20 Mar 2008 12:09:09 +0000 (+0000) Subject: removed old comment. removed unnucessary grep call X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=22ade58023a9a1ff6f8411e901d5ee57e7911761;p=Evergreen.git removed old comment. removed unnucessary grep call git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@9098 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm index d798c5f59d..58a4aedd2b 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm @@ -765,8 +765,7 @@ sub staged_search { last if $summary->{checked} < $PAGE_SIZE; } - # calculate the average estimated hit count from the data we've collected thus far - my @results = grep {defined $_} @$all_results[$user_offset..($user_offset + $user_limit - 1)]; + my @results = @$all_results[$user_offset..($user_offset + $user_limit - 1)]; return { count => $est_hit_count,