aboutsummaryrefslogtreecommitdiff
path: root/mod/file/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/index.php')
-rw-r--r--mod/file/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/file/index.php b/mod/file/index.php
index e76583f0f..af3d4c471 100644
--- a/mod/file/index.php
+++ b/mod/file/index.php
@@ -28,7 +28,8 @@
// Get objects
set_context('search');
- $area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'file', 'container_guid' => page_owner(), 'limit' => 10, 'full_view' => FALSE));
+ $offset = (int)get_input('offset', 0);
+ $area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'file', 'container_guid' => page_owner(), 'limit' => 10, 'offset' => $offset, 'full_view' => FALSE));
set_context('file');
$get_filter = get_filetype_cloud(page_owner());
if ($get_filter) {