[open-ils-commits] r9098 -
branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Search
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Mar 20 08:43:37 EDT 2008
Author: erickson
Date: 2008-03-20 08:09:09 -0400 (Thu, 20 Mar 2008)
New Revision: 9098
Modified:
branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
Log:
removed old comment. removed unnucessary grep call
Modified: branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
===================================================================
--- branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm 2008-03-20 12:07:29 UTC (rev 9097)
+++ branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm 2008-03-20 12:09:09 UTC (rev 9098)
@@ -765,8 +765,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