From 67228ec8a2640c377dffa7683723b1af857235cf Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 20 Jun 2018 19:14:57 +0200 Subject: buildmaster/build-list-links.php: limit to 150 pkgbases, not 150 pkgnames --- buildmaster/build-list-links.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildmaster') diff --git a/buildmaster/build-list-links.php b/buildmaster/build-list-links.php index 3f924f8..6604825 100644 --- a/buildmaster/build-list-links.php +++ b/buildmaster/build-list-links.php @@ -22,7 +22,7 @@ mysql_run_query($query); $query = "INSERT IGNORE INTO `ba` (`id`,`color`)" . - " SELECT" . + " SELECT DISTINCT" . " `build_assignments`.`id`," . "IF(`build_assignments`.`is_broken`,\"#ff0000\",IF(`build_assignments`.`is_blocked` IS NULL,\"#000000\",\"#800000\"))" . " FROM `binary_packages_in_repositories`" . -- cgit v1.2.3-70-g09d2