public function getList()
    {
        $list = parent::getList();
        $params = $this->request->requestVar('q');

        if (isset($params['RemoveEmptyMetaTitles']) && $params['RemoveEmptyMetaTitles']) {
            $list = $this->removeEmptyAttributes($list, 'MetaTitle');
        }

        if (isset($params['RemoveEmptyMetaDescriptions']) && $params['RemoveEmptyMetaDescriptions']) {
            $list = $this->removeEmptyAttributes($list, 'MetaDescription');
        }

        $list = $this->markDuplicates($list);

        if (isset($params['DuplicatesOnly']) && $params['DuplicatesOnly']) {
            $list = $list->filter('IsDuplicate', true);
        }

        $list = $list->sort('ID');

        return $list;
    }
public function getList()
    {
        $list = parent::getList();
        $params = $this->request->requestVar('q');

        if (isset($params['RemoveEmptyMetaTitles']) && $params['RemoveEmptyMetaTitles']) {
            $list = $this->removeEmptyAttributes($list, 'MetaTitle');
        }

        if (isset($params['RemoveEmptyMetaDescriptions']) && $params['RemoveEmptyMetaDescriptions']) {
            $list = $this->removeEmptyAttributes($list, 'MetaDescription');
        }

        $list = $this->markDuplicates($list);

        if (isset($params['DuplicatesOnly']) && $params['DuplicatesOnly']) {
            $list = $list->filter('IsDuplicate', true);
        }

        $list = $list->sort('ID');

        return $list;
    }
public function getList ( ) { $ list = parent :: getList ( ) ; $ params = $ this -> request -> requestVar ( 'q' ) ; if ( isset ( $ params [ 'RemoveEmptyMetaTitles' ] ) && $ params [ 'RemoveEmptyMetaTitles' ] ) { $ list = $ this -> removeEmptyAttributes ( $ list , 'MetaTitle' ) ; } if ( isset ( $ params [ 'RemoveEmptyMetaDescriptions' ] ) && $ params [ 'RemoveEmptyMetaDescriptions' ] ) { $ list = $ this -> removeEmptyAttributes ( $ list , 'MetaDescription' ) ; } $ list = $ this -> markDuplicates ( $ list ) ; if ( isset ( $ params [ 'DuplicatesOnly' ] ) && $ params [ 'DuplicatesOnly' ] ) { $ list = $ list -> filter ( 'IsDuplicate' , true ) ; } $ list = $ list -> sort ( 'ID' ) ; return $ list ; }
Get the list for the GridField

@return SS_List
Get the list for the GridField