Bug 6655 - Sorting order of serial issues in OPAC
authorMeenakshi.R <meenakshi.r@osslabs.biz>
Wed, 23 May 2012 05:07:19 +0000 (10:37 +0530)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 2 Aug 2012 10:09:33 +0000 (12:09 +0200)
Works as advertised.

Signed-off-by: Elliott Davis <elliott@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Serials.pm

index 90335d0..98660e9 100644 (file)
@@ -756,7 +756,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);