aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metadata.php
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-05 20:16:16 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-05 20:16:16 +0000
commit2dd5b50e0d6622799b4f15fe1c930db054566529 (patch)
tree0930f989ddcc928609a85b8c557095fa1182ca46 /engine/lib/metadata.php
parent8c3f28568fb67c22554461da9d4f9ddec0427446 (diff)
downloadelgg-2dd5b50e0d6622799b4f15fe1c930db054566529.tar.gz
elgg-2dd5b50e0d6622799b4f15fe1c930db054566529.tar.bz2
Passing entity list options on to view.
git-svn-id: http://code.elgg.org/elgg/trunk@5625 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/metadata.php')
-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 bab919ca2..cde9eeeff 100644
--- a/engine/lib/metadata.php
+++ b/engine/lib/metadata.php
@@ -966,7 +966,7 @@ $count = FALSE, $case_sensitive = TRUE) {
*
* @see elgg_view_entity_list
*
- * @deprecated 1.7 Use elgg_list_entities_from_metadata
+ * @deprecated 1.8 Use elgg_list_entities_from_metadata
* @param mixed $meta_name Metadata name to search on
* @param mixed $meta_value The value to match, optionally
* @param string $entity_type The type of entity to look for, eg 'site' or 'object'
@@ -1023,7 +1023,7 @@ function elgg_list_entities_from_metadata($options) {
$count = elgg_get_entities_from_metadata(array_merge(array('count' => TRUE), $options));
$entities = elgg_get_entities_from_metadata($options);
- return elgg_view_entity_list($entities, $count, $offset, $limit, $fullview, $viewtypetoggle, $pagination);
+ return elgg_view_entity_list($entities, $count, $options['offset'], $options['limit'], $options['full_view'], $options['view_type_toggle'], $options['pagination']);
}
/**