summaryrefslogtreecommitdiff
path: root/packages/index.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-10 14:46:16 +0200
committerErich Eckner <git@eckner.net>2018-07-10 14:46:16 +0200
commite42c6ee95fcef13374b744b392f3b27507683c2f (patch)
treea3684bc91cf40a349e92f91ce38faf86b502fb2f /packages/index.php
parentf241e7ecf971bed002da474e3bcac5d9cf877510 (diff)
downloadarchweb32-e42c6ee95fcef13374b744b392f3b27507683c2f.tar.xz
packages/index.php: query pkgbase, too
Diffstat (limited to 'packages/index.php')
-rw-r--r--packages/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/index.php b/packages/index.php
index 08c7048..a99744c 100644
--- a/packages/index.php
+++ b/packages/index.php
@@ -123,6 +123,7 @@ require_once BASE . "/lib/format.php";
$result = mysql_run_query(
"SELECT " .
"`binary_packages`.`pkgname`," .
+ "`package_sources`.`pkgbase`," .
"`repositories`.`name` AS `repo`," .
"`architectures`.`name` AS `arch`," .
"CONCAT(IF(`binary_packages`.`epoch`=\"0\",\"\",CONCAT(`binary_packages`.`epoch`,\":\"))," .
@@ -218,6 +219,7 @@ require_once BASE . "/lib/format.php";
$result = mysql_run_query(
"SELECT " .
"`binary_packages`.`pkgname`," .
+ "`package_sources`.`pkgbase`," .
"`repositories`.`name` AS `repo`," .
"`architectures`.`name` AS `arch`," .
"CONCAT(IF(`binary_packages`.`epoch`=\"0\",\"\",CONCAT(`binary_packages`.`epoch`,\":\"))," .