aboutsummaryrefslogtreecommitdiff
path: root/r7r_repo
diff options
context:
space:
mode:
Diffstat (limited to 'r7r_repo')
-rw-r--r--r7r_repo/main.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/r7r_repo/main.php b/r7r_repo/main.php
index 6f69cbe..d2497f0 100644
--- a/r7r_repo/main.php
+++ b/r7r_repo/main.php
@@ -513,6 +513,12 @@ $url_handlers = array(
echo package_list($my_packages, "My Packages");
},
+ "search" => function(&$data, $url_now, &$url_next)
+ {
+ $url_next = array();
+ $search_result = Package::search($_POST["searchterm"]);
+ echo package_list($search_result, "Search Result");
+ },
"setup" => function(&$data, $url_now, &$url_next)
{
global $settings, $ste;