[open-ils-commits] r9099 -
trunk/Open-ILS/src/perlmods/OpenILS/Application/Search
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Mar 20 08:44:19 EDT 2008
Author: erickson
Date: 2008-03-20 08:09:52 -0400 (Thu, 20 Mar 2008)
New Revision: 9099
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
Log:
removed old comment. removed unnucessary grep call
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm 2008-03-20 12:09:09 UTC (rev 9098)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm 2008-03-20 12:09:52 UTC (rev 9099)
@@ -830,8 +830,7 @@
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,
More information about the open-ils-commits
mailing list