diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-30 08:18:05 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-30 08:18:05 +0200 |
commit | 181c07edc61d9f70e57ed6d809dab88ffc0bbdf2 (patch) | |
tree | 14af5f138b3afa4b93d7fd451c81d0e7cc2268a6 /web/lib/pkgfuncs.inc.php | |
parent | 1fe14899aa808f50144162d6b14fc583873d08fc (diff) | |
parent | e82a2b80e5e93e29c5d6cac4096f8aa664c800d1 (diff) | |
download | aurweb-181c07edc61d9f70e57ed6d809dab88ffc0bbdf2.tar.xz |
Merge branch 'maint'
Diffstat (limited to 'web/lib/pkgfuncs.inc.php')
-rw-r--r-- | web/lib/pkgfuncs.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php index c736051..f515864 100644 --- a/web/lib/pkgfuncs.inc.php +++ b/web/lib/pkgfuncs.inc.php @@ -954,7 +954,8 @@ function pkg_add_lic($pkgid, $licid) { function latest_pkgs($numpkgs) { $dbh = DB::connect(); - $q = "SELECT * FROM Packages LEFT JOIN PackageBases ON "; + $q = "SELECT Packages.*, MaintainerUID, SubmittedTS "; + $q.= "FROM Packages LEFT JOIN PackageBases ON "; $q.= "PackageBases.ID = Packages.PackageBaseID "; $q.= "ORDER BY SubmittedTS DESC "; $q.= "LIMIT " . intval($numpkgs); |