From ca9242add1184021d51e5488580e0d722d089e2a Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 25 Jun 2008 17:50:22 +0000 Subject: The search page now takes more options. git-svn-id: https://code.elgg.org/elgg/trunk@1131 36083f99-b078-4883-b0ff-0f9b5a30f544 --- search/index.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'search') diff --git a/search/index.php b/search/index.php index 33a32046f..e5d230847 100644 --- a/search/index.php +++ b/search/index.php @@ -18,9 +18,14 @@ // Get input $tag = get_input('tag'); $subtype = get_input('subtype'); - $objecttype = get_input('object'); + if (!$objecttype = get_input('object')) { + $objecttype = ""; + } + if (!$md_type = get_input('tagtype')) { + $md_type = ""; + } - $body = list_entities_from_metadata("", $tag, "", $subtype); + $body = list_entities_from_metadata($md_type, $tag, $objecttype, $subtype); $body = elgg_view_layout('one_column',$body); page_draw(sprintf(elgg_echo('searchtitle'),$tag),$body); -- cgit v1.2.3