From 24e685c1b443fe6975bfa470eebd15b364c0a01c Mon Sep 17 00:00:00 2001 From: "Meenakshi.R" Date: Wed, 23 May 2012 10:37:19 +0530 Subject: [PATCH] Bug 6655 - Sorting order of serial issues in OPAC Works as advertised. Signed-off-by: Elliott Davis Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack (cherry picked from commit ce015d0e470a76e3d714358f07cd7e6eb2012c2e) Signed-off-by: Jared Camins-Esakov --- C4/Serials.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index 1e043c94b7..afeb638291 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -749,7 +749,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); -- 2.39.5