Hi there,
Not sure if this is a bug or if this function needs changing for 3.1 I am using the function below to filter out some records displayed in model admin as per the example on the reference page.
public function getList() {
$list = parent::getList();
// Always limit by model class, in case you're managing multiple
if($this->modelClass == 'Producer') {
$list->exclude('New', '0');
}
return $list;
}
This used to work in version 3.0.2 but with 3.1 beta 3 its just not working any more. Any pointers?
Mick