aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/metadata.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php
index cde9eeeff..71337db09 100644
--- a/engine/lib/metadata.php
+++ b/engine/lib/metadata.php
@@ -1011,8 +1011,8 @@ function list_entities_from_metadata($meta_name, $meta_value = "", $entity_type
*/
function elgg_list_entities_from_metadata($options) {
$defaults = array(
- 'offset' => 0,
- 'limit' => 10,
+ 'offset' => get_input('offset', 0),
+ 'limit' => get_input('limit', 10),
'full_view' => TRUE,
'view_type_toggle' => FALSE,
'pagination' => TRUE