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:
Ingo Schommer 2009-04-23 04:29:19 +00:00 committed by Sam Minnee
parent cd5ed8515d
commit 58da2f0b99

View File

@ -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'));