Bug 3316 - Improve last 3 issues displayed on OPAC detail page
authorFrédéric Demians <f.demians@tamil.fr>
Tue, 9 Jun 2009 08:17:07 +0000 (10:17 +0200)
committerGalen Charlton <galen.charlton@liblime.com>
Tue, 9 Jun 2009 14:17:24 +0000 (09:17 -0500)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Serials.pm

index 7d81586..2de4ab3 100644 (file)
@@ -831,7 +831,7 @@ sub GetLatestSerials {
                         FROM     serial
                         WHERE    subscriptionid = ?
                         AND      (status =2 or status=4)
-                        ORDER BY planneddate DESC LIMIT 0,$limit
+                        ORDER BY publisheddate DESC LIMIT 0,$limit
                 ";
     my $sth = $dbh->prepare($strsth);
     $sth->execute($subscriptionid);