mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Partially merged r71388 from trunk - removed group filtering which wasn't implemented fully
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75026 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
cd5ed8515d
commit
58da2f0b99
@ -120,12 +120,6 @@ class MemberTableField extends ComplexTableField {
|
|||||||
$this->sourceFilter[] = '(' . implode(' OR ', $searchFilters) . ')';
|
$this->sourceFilter[] = '(' . implode(' OR ', $searchFilters) . ')';
|
||||||
}
|
}
|
||||||
|
|
||||||
// filter by groups
|
|
||||||
// TODO Not implemented yet
|
|
||||||
if(isset($_REQUEST['ctf'][$this->Name()]['GroupID']) && is_numeric($_REQUEST['ctf'][$this->Name()]['GroupID'])) {
|
|
||||||
$this->sourceFilter[] = "`GroupID`='{$_REQUEST['ctf'][$this->Name()]['GroupID']}'";
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->sourceJoin = " INNER JOIN `Group_Members` ON `MemberID` = `Member`.`ID`";
|
$this->sourceJoin = " INNER JOIN `Group_Members` ON `MemberID` = `Member`.`ID`";
|
||||||
$this->setFieldListCsv($csvFieldList);
|
$this->setFieldListCsv($csvFieldList);
|
||||||
$this->setPageSize($this->stat('page_size'));
|
$this->setPageSize($this->stat('page_size'));
|
||||||
|
Loading…
Reference in New Issue
Block a user