removed old comment. removed unnucessary grep call
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 20 Mar 2008 12:09:09 +0000 (12:09 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 20 Mar 2008 12:09:09 +0000 (12:09 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@9098 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm

index d798c5f..58a4aed 100644 (file)
@@ -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,