aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-07 16:51:39 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-07 16:51:39 +0000
commitf51c33f78495d373c097c4f0fa4deffd203b2285 (patch)
treed2e4e3b6f06c2568a5ad4ba7bcfd3944f67b7bb5
parent2c23064e291fe525e1d9e1e3ecd1963dbcc4af60 (diff)
downloadelgg-f51c33f78495d373c097c4f0fa4deffd203b2285.tar.gz
elgg-f51c33f78495d373c097c4f0fa4deffd203b2285.tar.bz2
Closes #410: Pagination parameter now passed in relationship list view.
git-svn-id: https://code.elgg.org/elgg/trunk@2539 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/relationships.php2
-rw-r--r--mod/groups/views/default/widgets/group_members_widget/view.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php
index c98ce3a9a..e9b83f5ae 100644
--- a/engine/lib/relationships.php
+++ b/engine/lib/relationships.php
@@ -563,7 +563,7 @@
$count = get_entities_from_relationship($relationship, $relationship_guid, $inverse_relationship, $type, $subtype, $owner_guid, "", $limit, $offset, true);
$entities = get_entities_from_relationship($relationship, $relationship_guid, $inverse_relationship, $type, $subtype, $owner_guid, "", $limit, $offset);
- return elgg_view_entity_list($entities, $count, $offset, $limit, $fullview, $viewtypetoggle);
+ return elgg_view_entity_list($entities, $count, $offset, $limit, $fullview, $viewtypetoggle, $pagination);
}
diff --git a/mod/groups/views/default/widgets/group_members_widget/view.php b/mod/groups/views/default/widgets/group_members_widget/view.php
index bcea58c2d..d17939755 100644
--- a/mod/groups/views/default/widgets/group_members_widget/view.php
+++ b/mod/groups/views/default/widgets/group_members_widget/view.php
@@ -24,7 +24,7 @@
$members = $group->getMembers($limit, $offset);
$count = $group->getMembers($limit, $offset, true);
- $result = elgg_view_entity_list($members, $count, $offset, $limit, false);
+ $result = elgg_view_entity_list($members, $count, $offset, $limit, false, false, false);
}
else
{