protected $_adminType = 'text';
protected $_viewNamespace = 'crud::fields';
protected $_columnViewNamespace = 'crud::columns';
+ protected $_searchLogic = 'text';
protected $_databaseType = 'text';
protected $_databaseUnique = false;
{
return ['type' => $this->_adminType, 'view_namespace' => $this->_viewNamespace, 'column' => false, 'form' => 'both', 'rules' => '',
'fillable' => true, 'guarded' => false, 'hidden' => false, 'translatable' => $this->_translatable,
- 'column_type' => $this->_columnType, 'default' => '', 'cast' => $this->_cast, 'column_view_namespace' => $this->_columnViewNamespace,
+ 'column_type' => $this->_columnType, 'default' => '', 'cast' => $this->_cast, 'column_view_namespace' => $this->_columnViewNamespace, 'searchLogic' => $this->_searchLogic,
'allow_null' => true,
'fake' => false, 'store_in' => false, 'attributes' => [],];
}
'name' => $this->getAttribute('name'),
'view_namespace' => $this->getAttribute('column_view_namespace'),
'type' => $this->getAttribute('column_type'),
- 'label' => $this->getAttribute('column_label', $this->getAttribute('label'))
+ 'label' => $this->getAttribute('column_label', $this->getAttribute('label')),
+ 'searchLogic' => $this->getAttribute('searchLogic'),
];
return $res;