aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-11 15:51:05 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-11 15:51:05 +0000
commit649ba62bd4a9c6c102342c52237b1ca288f8de86 (patch)
treedba568b988a1637a26bf56a47f42d4a2e1b10668
parent8474bdb6e0f7aea5c6ee546270967b1d8a54424b (diff)
downloadelgg-649ba62bd4a9c6c102342c52237b1ca288f8de86.tar.gz
elgg-649ba62bd4a9c6c102342c52237b1ca288f8de86.tar.bz2
Improved search submenu items
git-svn-id: https://code.elgg.org/elgg/trunk@1838 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--search/index.php3
1 files changed, 2 insertions, 1 deletions
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));
}