index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-05-25 16:02:28 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-25 16:02:28 +0200 |
commit | 5ecbde8ac14bc17170f27ace3edd858ce575e922 (patch) | |
tree | c99a03c2a1b824571bbe6184bd7d75611cf0ab93 /buildmaster/log.php | |
parent | 5c9463899fce614fa026015e29ef754b4bf8c311 (diff) |
-rw-r--r-- | buildmaster/log.php | 6 |
diff --git a/buildmaster/log.php b/buildmaster/log.php index 477d4c9..55ce955 100644 --- a/buildmaster/log.php +++ b/buildmaster/log.php @@ -13,8 +13,10 @@ "parameters" => "`ssh_log`.`parameters`" ); $join = " LEFT JOIN `build_slaves` ON `ssh_log`.`build_slave`=`build_slaves`.`id`"; - if (isset($_GET["filter"])) - $filter = " AND `ssh_log`.`action` LIKE from_base64(\"" . base64_encode($_GET["filter"]) . "\")"; + if (isset($_GET["action"])) + $filter .= " AND `ssh_log`.`action` LIKE from_base64(\"" . base64_encode($_GET["action"]) . "\")"; + if (isset($_GET["slave"])) + $filter .= " AND `build_slaves`.`name` LIKE from_base64(\"" . base64_encode($_GET["slave"]) . "\")"; } else { $to_show = "email"; $columns = array( |