Bug 7688 broke the exporting serial claims as CSV (see bug 10854).
For C4::Serials::GetLateOrMissingIssues(), $supplierid is not
meant to be mandatory. This patch fixes that.
Test plan:
try to export a serial claim.
Without this patch, the csv is always empty.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
sub GetLateOrMissingIssues {
my ( $supplierid, $serialid, $order ) = @_;
- return unless ($supplierid);
+ return unless ( $supplierid or $serialid );
my $dbh = C4::Context->dbh;
my $sth;