summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-06-30 08:18:05 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-06-30 08:18:05 +0200
commit181c07edc61d9f70e57ed6d809dab88ffc0bbdf2 (patch)
tree14af5f138b3afa4b93d7fd451c81d0e7cc2268a6 /web
parent1fe14899aa808f50144162d6b14fc583873d08fc (diff)
parente82a2b80e5e93e29c5d6cac4096f8aa664c800d1 (diff)
downloadaur-181c07edc61d9f70e57ed6d809dab88ffc0bbdf2.tar.gz
aur-181c07edc61d9f70e57ed6d809dab88ffc0bbdf2.tar.xz
Merge branch 'maint'
Diffstat (limited to 'web')
-rw-r--r--web/lib/pkgfuncs.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php
index c7360514..f5158646 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);