cfmgrv4 init...4
This commit is contained in:
parent
97a48b2ac6
commit
09a1d010f7
@ -59,7 +59,7 @@ class AuditLogModel extends CommonModel
|
|||||||
{
|
{
|
||||||
switch ($field) {
|
switch ($field) {
|
||||||
default:
|
default:
|
||||||
$this->orderBy(self::TITLE, 'asc');
|
$this->orderBy('zone_name', 'asc');
|
||||||
$options = parent::getFormFieldInputOption($field, $options);
|
$options = parent::getFormFieldInputOption($field, $options);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -85,4 +85,12 @@ class AuditLogModel extends CommonModel
|
|||||||
{
|
{
|
||||||
return $this->modify_process($entity, $formDatas);
|
return $this->modify_process($entity, $formDatas);
|
||||||
}
|
}
|
||||||
|
//List 검색용
|
||||||
|
public function setList_WordFilter(string $word, $field = null): void
|
||||||
|
{
|
||||||
|
parent::setList_WordFilter($word, $field);
|
||||||
|
$this->orLike(self::TABLE . '.zone_name', $word, 'both');
|
||||||
|
$this->orLike(self::TABLE . '.resource_name', $word, 'both');
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user