From 8a298d36658f1f34a3107c40dec9373edbf7171c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 9 Mar 2018 14:13:22 +0100 Subject: web-scripts/build-list.php: "all" <-> "broken" --- web-scripts/build-list.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web-scripts/build-list.php b/web-scripts/build-list.php index 0ca36b8..1bb985d 100644 --- a/web-scripts/build-list.php +++ b/web-scripts/build-list.php @@ -1,10 +1,10 @@ List of scheduled package builds\n"; - else + if (isset($_GET["broken"])) print "List of broken package builds\n"; + else + print "List of scheduled package builds\n"; ?> @@ -17,10 +17,10 @@ if ($mysql->connect_error) { die("Connection failed: " . $mysql->connect_error); } -if (isset($_GET["all"])) - $match_broken = ""; -else +if (isset($_GET["broken"])) $match_broken = "AND (`build_assignments`.`is_broken` OR `build_assignments`.`is_blocked` IS NOT NULL)"; +else + $match_broken = ""; $result = $mysql -> query( "SELECT DISTINCT " . -- cgit v1.2.3-70-g09d2