From 649ba62bd4a9c6c102342c52237b1ca288f8de86 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 11 Aug 2008 15:51:05 +0000 Subject: Improved search submenu items git-svn-id: https://code.elgg.org/elgg/trunk@1838 36083f99-b078-4883-b0ff-0f9b5a30f544 --- search/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/search/index.php b/search/index.php index 71e223d37..5ee39f026 100644 --- a/search/index.php +++ b/search/index.php @@ -43,9 +43,10 @@ $label = 'item:' . $object_type; if (!empty($object_subtype)) $label .= ':' . $object_subtype; global $CONFIG; - add_submenu_item(elgg_echo($label), $CONFIG->wwwroot . "search/?tag=". urlencode($tag) ."&object=". urlencode($object_type) ."&tagtype=" . urlencode($md_type) . "&owner_guid=" . urlencode($owner_guid)); + add_submenu_item(elgg_echo($label), $CONFIG->wwwroot . "search/?tag=". urlencode($tag) ."&subtype=" . $object_subtype . "&object=". urlencode($object_type) ."&tagtype=" . urlencode($md_type) . "&owner_guid=" . urlencode($owner_guid)); } } + add_submenu_item(elgg_echo('all'), $CONFIG->wwwroot . "search/?tag=". urlencode($tag) ."&owner_guid=" . urlencode($owner_guid)); } -- cgit v1.2.3