From 62b03cd61f5b3c837a97e71260790c15be7e4ea2 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 8 Jan 2012 15:04:50 -0500 Subject: Fixes #2404 not using full set of query parameters for custom search types --- mod/search/pages/search/index.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'mod/search') diff --git a/mod/search/pages/search/index.php b/mod/search/pages/search/index.php index efa3ec037..782c2bae9 100644 --- a/mod/search/pages/search/index.php +++ b/mod/search/pages/search/index.php @@ -145,11 +145,7 @@ foreach ($custom_types as $type) { $data = htmlspecialchars(http_build_query(array( 'q' => $query, - 'entity_subtype' => $entity_subtype, - 'entity_type' => $entity_type, - 'owner_guid' => $owner_guid, 'search_type' => $type, - 'friends' => $friends ))); $url = elgg_get_site_url()."search?$data"; -- cgit v1.2.3 From aaeed5d0c3ec561ea691cddeee20563c2b946acd Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 8 Jan 2012 15:51:19 -0500 Subject: Fixes #2199 can now pass entity type/subtype to tag search --- mod/search/pages/search/index.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'mod/search') diff --git a/mod/search/pages/search/index.php b/mod/search/pages/search/index.php index 782c2bae9..91817096b 100644 --- a/mod/search/pages/search/index.php +++ b/mod/search/pages/search/index.php @@ -236,8 +236,6 @@ if ($search_type != 'entities' || $search_type == 'all') { $current_params = $params; $current_params['search_type'] = $type; - // custom search types have no subtype. - unset($current_params['subtype']); $results = elgg_trigger_plugin_hook('search', $type, $current_params, array()); -- cgit v1.2.3