mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
5c3f019093
commit
df39cded09
1 changed files with 1 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue