NoZebra : fix on the last page in case there is more than 1 page
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
8d429b851f
commit
9e7d6abee1
1 changed files with 1 additions and 1 deletions
|
@ -1559,7 +1559,7 @@ sub NZorder {
|
|||
# for the requested page, replace biblionumber by the complete record
|
||||
# speed improvement : avoid reading too much things
|
||||
for (my $counter=$offset;$counter<=$offset+$results_per_page;$counter++) {
|
||||
$result_hash->{'RECORDS'}[$counter] = GetMarcBiblio($result_hash->{'RECORDS'}[$counter])->as_usmarc;
|
||||
$result_hash->{'RECORDS'}[$counter] = GetMarcBiblio($result_hash->{'RECORDS'}[$counter])->as_usmarc if $result_hash->{'RECORDS'}[$counter];
|
||||
}
|
||||
my $finalresult=();
|
||||
$result_hash->{'hits'} = $numbers;
|
||||
|
|
Loading…
Reference in a new issue