add with_ips parameter to SubDomains.listing() and SubDomains.get(); add column ips/ports to domain tablelisting (admin and customer)

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-05-23 13:50:50 +02:00
parent 9b5d3aed97
commit d3a8c8628e
4 changed files with 71 additions and 0 deletions

View File

@@ -45,6 +45,12 @@ return [
'label' => lng('domains.domainname'),
'field' => 'domain_ace',
],
'ipsandports' => [
'label' => lng('admin.ipsandports.ipsandports'),
'field' => 'ipsandports',
'sortable' => false,
'callback' => [Domain::class, 'listIPs'],
],
'c.name' => [
'label' => lng('customer.name'),
'field' => 'customer.name',