I currently have a DataObject "enhancements"
For searchable fields I have:
static $searchable_fields = array(
'Requester' => 'Requester',
'Title' => 'Title',
I want to create a pulldown for a Status field that has options of Active, Pending, Completed inside my search area ModelAdmin. I can get to work as a text field, but not a pulldown
I've searched the forums and all I can find is that ModelAdmin will create pulldowns automatically in the search area for fields from related objects like:
static $searchable_fields = array(
'ArticleTypeID' =>array( 'title' => 'Article Type' )
);
I've also stumbled onto this example:
static $searchable_fields = array(
"Organisation.ZipCode" => array(
"field" => "TextField",
"filter" => "PartialMatchFilter",
"title" => 'Organisation ZIP'
)
);
If I modifiy it to fit my example... changing Organisation.ZipCode to Status and TextField to Pulldown, I do get a pulldown, but it's blank.
Any help would be appreciated.
Brian