]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #2199 can now pass entity type/subtype to tag search
authorCash Costello <cash.costello@gmail.com>
Sun, 8 Jan 2012 20:51:19 +0000 (15:51 -0500)
committerCash Costello <cash.costello@gmail.com>
Sun, 8 Jan 2012 20:51:19 +0000 (15:51 -0500)
mod/search/pages/search/index.php

index 782c2bae9f6f727173767f72fec2315a53a68481..91817096b543db16222f9998f1e7a86fed08f678 100644 (file)
@@ -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());