diff --git a/C4/Serials.pm b/C4/Serials.pm index 5ec3a74ece..a8e61e32ef 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -488,6 +488,7 @@ sub PrepareSerialsData{ foreach my $key ( sort { $b cmp $a } keys %tmpresults ) { push @res, $tmpresults{$key}; } + $res[0]->{'first'}=1; return \@res; } @@ -772,7 +773,7 @@ sub GetSerials { return ( $totalissues, @serials ); } -=head2 GetSerials +=head2 GetSerials2 =over 4