cfmgrv3 init...2
This commit is contained in:
parent
1e527f9d8b
commit
fd36ab3e8f
@ -80,6 +80,6 @@ class FirewallModel extends Model
|
||||
}
|
||||
public function setIndexOrderBy($field, $order = 'ASC')
|
||||
{
|
||||
$this->orderBy(['zone_uid' => 'ASC', 'description' => 'ASC', $field => $order]);
|
||||
$this->orderBy("zone_uid ASC, description ASC, {$field} {$order}");
|
||||
}
|
||||
}
|
||||
|
||||
@ -83,7 +83,7 @@ class RecordModel extends Model
|
||||
}
|
||||
public function setIndexOrderBy($field, $order = 'ASC')
|
||||
{
|
||||
$this->orderBy(['zone_uid' => 'ASC', 'host' => 'ASC', $field => $order]);
|
||||
$this->orderBy("zone_uid ASC, host ASC, {$field} {$order}");
|
||||
}
|
||||
|
||||
//도메인이 이미 존재하는지 체크
|
||||
|
||||
@ -82,7 +82,7 @@ class ZoneModel extends Model
|
||||
}
|
||||
public function setIndexOrderBy($field, $order = 'ASC')
|
||||
{
|
||||
$this->orderBy(['account_uid' => 'ASC', 'domain' => 'ASC', $field => $order]);
|
||||
$this->orderBy("account_uid ASC, domain ASC, {$field} {$order}");
|
||||
}
|
||||
|
||||
//도메인이 이미 존재하는지 체크
|
||||
|
||||
Loading…
Reference in New Issue
Block a user