aboutsummaryrefslogtreecommitdiff
path: root/search/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'search/index.php')
-rw-r--r--search/index.php4
1 files changed, 3 insertions, 1 deletions
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);