Bug 4507 Don't return null vendor to claims processing
The empty vendor created by the select if any subscriptions have no associated vendor generates a 'wrong-looking' display and selecting it gives no options Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
aec1a31b23
commit
885d094090
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ sub GetSuppliersWithLateIssues {
|
|||
FROM subscription
|
||||
LEFT JOIN serial ON serial.subscriptionid=subscription.subscriptionid
|
||||
LEFT JOIN aqbooksellers ON subscription.aqbooksellerid = aqbooksellers.id
|
||||
WHERE (planneddate < now() OR serial.STATUS = 3 OR serial.STATUS = 4) ORDER BY name|;
|
||||
WHERE id > 0 AND (planneddate < now() OR serial.STATUS = 3 OR serial.STATUS = 4) ORDER BY name|;
|
||||
return $dbh->selectall_arrayref($query, { Slice => {} });
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue