Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/index.php19
1 files changed, 19 insertions, 0 deletions
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");
?>