Lines 692-697
for (my $i=0;$i<@servers;$i++) {
Link Here
|
692 |
$art_req_itypes = Koha::CirculationRules->guess_article_requestable_itemtypes({ $patron ? ( categorycode => $patron->categorycode ) : () }); |
692 |
$art_req_itypes = Koha::CirculationRules->guess_article_requestable_itemtypes({ $patron ? ( categorycode => $patron->categorycode ) : () }); |
693 |
} |
693 |
} |
694 |
|
694 |
|
|
|
695 |
my $results_count = scalar @newresults; |
695 |
foreach my $res (@newresults) { |
696 |
foreach my $res (@newresults) { |
696 |
|
697 |
|
697 |
# must define a value for size if not present in DB |
698 |
# must define a value for size if not present in DB |
Lines 754-760
for (my $i=0;$i<@servers;$i++) {
Link Here
|
754 |
} |
755 |
} |
755 |
|
756 |
|
756 |
if ($results_hashref->{$server}->{"hits"}){ |
757 |
if ($results_hashref->{$server}->{"hits"}){ |
757 |
$total = $total + $hits; |
758 |
if ($hits > $results_per_page) { |
|
|
759 |
$total = $total + $hits; |
760 |
} else { $total = $results_count } |
758 |
} |
761 |
} |
759 |
|
762 |
|
760 |
# Opac search history |
763 |
# Opac search history |
761 |
- |
|
|