Added organisation members table & associated table column data
This commit is contained in:
@@ -25,11 +25,15 @@ class OrganisationSprunje extends Sprunje
|
||||
protected $sortable = [
|
||||
'name',
|
||||
'description',
|
||||
'member_count',
|
||||
'admin_count'
|
||||
];
|
||||
|
||||
protected $filterable = [
|
||||
'name',
|
||||
'description',
|
||||
'member_count',
|
||||
'admin_count'
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -37,6 +41,6 @@ class OrganisationSprunje extends Sprunje
|
||||
*/
|
||||
protected function baseQuery()
|
||||
{
|
||||
return $this->classMapper->createInstance('organisation')->newQuery();
|
||||
return $this->classMapper->createInstance('organisation')->newQuery()->joinMemberCounts();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user