protected function getFilter(DataList $list)
    {
        if ($class = $this->getFilterClass()) {
            return Injector::inst()->create($class, $list, $this->getParams());
        }
        
        return DefaultFilter::create($list, $this->getParams());
    }