From df39cded09cb2a1ed9ee2f11207b28ccbb24fd51 Mon Sep 17 00:00:00 2001 From: Callan Barrett Date: Mon, 29 Sep 2008 00:07:33 +0800 Subject: Sort required by list in package details page. This closes FS#11420. Signed-off-by: Callan Barrett Signed-off-by: Loui Chang --- web/lib/pkgfuncs.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 484e5a6..5ba56da 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -128,6 +128,7 @@ function package_required($pkgid=0) { $q.= "WHERE PackageDepends.PackageID = Packages.ID "; $q.= "AND PackageDepends.DepPkgID = "; $q.= mysql_real_escape_string($pkgid); + $q.= " ORDER BY Name"; $result = db_query($q, $dbh); if (!$result) {return array();} while ($row = mysql_fetch_row($result)) { -- cgit v1.2.3-70-g09d2