index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-07-10 14:18:22 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-07-10 14:18:22 +0200 |
commit | 271dbaf6d80a821cc6657fde96314112ee3394ce (patch) | |
tree | e41723f0af4885e0e14156f1f64c5497f9ca14e4 /packages | |
parent | d5cf1bf5a6c0925f9e3815f9b6c33b26a5b67b06 (diff) |
-rw-r--r-- | packages/index.php | 19 |
diff --git a/packages/index.php b/packages/index.php index a4945ff..1347aa9 100644 --- a/packages/index.php +++ b/packages/index.php @@ -3,6 +3,7 @@ require_once "../init.php"; require_once BASE . "/lib/mysql.php"; require_once BASE . "/lib/style.php"; +require_once BASE . "/lib/format.php"; foreach (array("bugs","sort","del","uses_upstream","uses_modification") as $expected_param) @@ -341,6 +342,24 @@ require_once BASE . "/lib/style.php"; }; + if (isset($_GET["exact"])) { + export_as_requested( + array( + "All" => $exact_matches + ) + ); + die(); + }; + + if (isset($_GET["fuzzy"])) { + export_as_requested( + array( + "All" => $fuzzy_matches + ) + ); + die(); + }; + print_header("Package Search"); ?> |