Hello,
I have ModelAdmin to manage "Manager" dataobject records. I have a list of $searchable_fields to filter my data object result. One of the search filters is a Status dropdown menu with "active' and "Inactive" values. By default it shows all dataobjects. What I want to see by default is only records that have active status. So far I have this code:
static $searchable_fields = array(
'FirstName' =>array( 'title' => 'First Name' ),
'Surname' =>array( 'title' => 'Surname' ),
'Status' =>array( 'title' => 'Status' )
);
any help?