aboutsummaryrefslogtreecommitdiff
path: root/world.php
diff options
context:
space:
mode:
Diffstat (limited to 'world.php')
-rw-r--r--world.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/world.php b/world.php
index 3fbd46ddd..263702f61 100644
--- a/world.php
+++ b/world.php
@@ -26,9 +26,7 @@ $title = sprintf(elgg_echo("videolist:search"));
// Get objects
$area2 = elgg_view_title($title);
set_input('show_viewtype', 'all');
-$area2 .= list_entities("object","videolist", 0, 10, $fullview=true, $viewtypetoggle=false,$pagination=true);
-
-//$area2 .= elgg_view("staticvideo/index");
+$area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'videolist', 'container_guids' => page_owner(), 'limit' => 10, 'full_view' => TRUE, 'view_type_toggle' => FALSE, 'pagination' => TRUE));
set_context('videolist');
$body = elgg_view_layout('one_column_with_sidebar',$area1. $area2);