[aur-dev] [PATCH] Fix FS#11420
Loui
louipc.ist at gmail.com
Sun Sep 28 13:10:08 EDT 2008
On Mon, Sep 29, 2008 at 12:07:33AM +0800, Callan Barrett wrote:
> Sort required by list in package details page.
>
> Signed-off-by: Callan Barrett <wizzomafizzo at gmail.com>
> ---
> web/lib/pkgfuncs.inc | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> 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)) {
Nice. I would put the more descriptive
"Sort required by list in package details page."
as the commit title though.
More information about the aur-dev
mailing list