aboutsummaryrefslogtreecommitdiff
path: root/search/index.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-25 18:07:16 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-25 18:07:16 +0000
commit2d0ceebc979903474e445b04cd2dbe406a8b1f3f (patch)
treefabc2bdb80c3e498b51cab9d84dcc5ee90ac70ae /search/index.php
parent9cdb242250336005002e7cc7ffa4d8c3316db30b (diff)
downloadelgg-2d0ceebc979903474e445b04cd2dbe406a8b1f3f.tar.gz
elgg-2d0ceebc979903474e445b04cd2dbe406a8b1f3f.tar.bz2
Search and metadata functions now support multiple user GUIDs
git-svn-id: https://code.elgg.org/elgg/trunk@1134 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'search/index.php')
-rw-r--r--search/index.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/search/index.php b/search/index.php
index e5d230847..5718047ad 100644
--- a/search/index.php
+++ b/search/index.php
@@ -24,8 +24,12 @@
if (!$md_type = get_input('tagtype')) {
$md_type = "";
}
+ $owner_guid = get_input('owner_guid',0);
+ if (substr_count($owner_guid,',')) {
+ $owner_guid = explode(",",$owner_guid);
+ }
- $body = list_entities_from_metadata($md_type, $tag, $objecttype, $subtype);
+ $body = list_entities_from_metadata($md_type, $tag, $objecttype, $subtype, $owner_guid);
$body = elgg_view_layout('one_column',$body);
page_draw(sprintf(elgg_echo('searchtitle'),$tag),$body);