summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorCallan Barrett <wizzomafizzo@gmail.com>2008-09-28 18:07:33 +0200
committerLoui Chang <louipc.ist@gmail.com>2008-09-28 19:17:09 +0200
commitdf39cded09cb2a1ed9ee2f11207b28ccbb24fd51 (patch)
tree88f5f761d7b67fb6be3dbbac2cb6aacc104b49f9 /web
parent5c3f01909301f641f57b2ffe8b59609de6be2256 (diff)
downloadaur-df39cded09cb2a1ed9ee2f11207b28ccbb24fd51.tar.gz
aur-df39cded09cb2a1ed9ee2f11207b28ccbb24fd51.tar.xz
Sort required by list in package details page.
This closes FS#11420. Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web')
-rw-r--r--web/lib/pkgfuncs.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index 484e5a65..5ba56da0 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)) {