Bug 3883: Fixes blank line in routing list.
The blank line was being caused by the SELECT statement in the getroutinglist fuction of C4::Serials. The LEFT join in the select statement was creating a single row result of NULL. Changed the LEFT join to an INNER join. Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
b7a5bbefe8
commit
fbd04fab63
1 changed files with 1 additions and 1 deletions
|
@ -2008,7 +2008,7 @@ sub getroutinglist {
|
|||
my $sth = $dbh->prepare(
|
||||
"SELECT routingid, borrowernumber, ranking, biblionumber
|
||||
FROM subscription
|
||||
LEFT JOIN subscriptionroutinglist ON subscription.subscriptionid = subscriptionroutinglist.subscriptionid
|
||||
JOIN subscriptionroutinglist ON subscription.subscriptionid = subscriptionroutinglist.subscriptionid
|
||||
WHERE subscription.subscriptionid = ? ORDER BY ranking ASC
|
||||
"
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue