index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-09-18 08:09:42 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-18 08:09:42 +0200 |
commit | 542d4ee101282543685125dcc0a5d359b5aebc9f (patch) | |
tree | 32e32a7cbe49ed63588a823196f95287a49a6600 /buildmaster/build-list.php | |
parent | 20c324cf8e371f89a9b279c4374a25dfd3645ccb (diff) |
-rw-r--r-- | buildmaster/build-list.php | 16 |
diff --git a/buildmaster/build-list.php b/buildmaster/build-list.php index 0a41a88..80caf0a 100644 --- a/buildmaster/build-list.php +++ b/buildmaster/build-list.php @@ -5,10 +5,15 @@ require_once BASE . "/lib/helper.php"; require_once BASE . "/lib/mysql.php"; require_once BASE . "/lib/style.php"; +$filter = " WHERE "; + +if (isset($_GET["invq"])) + $filter .= "NOT "; + if (isset($_GET["q"])) - $filter = " WHERE `ba_q`.`pkgbase` LIKE from_base64(\"".base64_encode("%".$_GET["q"]."%")."\")"; + $filter .= "`ba_q`.`pkgbase` LIKE from_base64(\"".base64_encode("%".$_GET["q"]."%")."\")"; else - $filter = " WHERE 1"; + $filter .= "1"; $multi_select_search_criteria = array( "arch" => array( @@ -434,7 +439,12 @@ foreach ($multi_select_search_criteria as $criterium) { <input id="id_q" name="q" size="30" type="text" <?php if (isset($_GET["q"])) print "value=\"".$_GET["q"]."\""; -?>/> +?>/><br> + <input id="id_invq" name="invq" type="checkbox" value="invq" title="list all non-matching package builds"<?php +if (isset($_GET["invq"])) + print " checked"; +?>> + invert match </div> <?php |