From 4711091be04584cdab4060a6ff4e0bea03bc00e9 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 28 May 2008 14:30:23 +0000 Subject: Subtypes and object types for search. git-svn-id: https://code.elgg.org/elgg/trunk@742 36083f99-b078-4883-b0ff-0f9b5a30f544 --- search/index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'search') diff --git a/search/index.php b/search/index.php index cd5511b8b..36916b0d5 100644 --- a/search/index.php +++ b/search/index.php @@ -18,10 +18,12 @@ // Get input $tag = get_input('tag'); $offset = get_input('offset',0); + $subtype = get_input('subtype'); + $objecttype = get_input('object'); $body = ""; - if ($entities = get_entities_from_metadata("",$tag,"","",15,$offset)) { + if ($entities = get_entities_from_metadata("",$tag,"",$subtype,15,$offset)) { foreach($entities as $entity) { $body .= elgg_view_entity($entity); -- cgit v1.2.3