Lines 617-622
for (my $i=0;$i<@servers;$i++) {
Link Here
|
617 |
$art_req_itypes = Koha::CirculationRules->guess_article_requestable_itemtypes({ $patron ? ( categorycode => $patron->categorycode ) : () }); |
617 |
$art_req_itypes = Koha::CirculationRules->guess_article_requestable_itemtypes({ $patron ? ( categorycode => $patron->categorycode ) : () }); |
618 |
} |
618 |
} |
619 |
|
619 |
|
|
|
620 |
my $results_count = scalar @newresults; |
620 |
foreach my $res (@newresults) { |
621 |
foreach my $res (@newresults) { |
621 |
|
622 |
|
622 |
# must define a value for size if not present in DB |
623 |
# must define a value for size if not present in DB |
Lines 679-685
for (my $i=0;$i<@servers;$i++) {
Link Here
|
679 |
} |
680 |
} |
680 |
|
681 |
|
681 |
if ($results_hashref->{$server}->{"hits"}){ |
682 |
if ($results_hashref->{$server}->{"hits"}){ |
682 |
$total = $total + $hits; |
683 |
if ($hits > $results_per_page) { |
|
|
684 |
$total = $total + $hits; |
685 |
} else { $total = $results_count } |
683 |
} |
686 |
} |
684 |
|
687 |
|
685 |
# Opac search history |
688 |
# Opac search history |
686 |
- |
|
|