specify default search-field for on-page listing-search/filter

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-05-26 13:15:01 +02:00
parent 84599011cf
commit 426f204473
9 changed files with 9 additions and 1 deletions

View File

@@ -48,6 +48,7 @@ return [
'field' => 'loginname',
'callback' => [Impersonate::class, 'admin'],
'sortable' => true,
'isdefaultsearchfield' => true,
],
'name' => [
'label' => lng('customer.name'),

View File

@@ -48,6 +48,7 @@ return [
'd.domain_ace' => [
'label' => lng('domains.domainname'),
'field' => 'domain_ace',
'isdefaultsearchfield' => true,
],
'ipsandports' => [
'label' => lng('admin.ipsandports.ipsandports'),

View File

@@ -41,6 +41,7 @@ return [
'description' => [
'label' => lng('admin.phpsettings.description'),
'field' => 'description',
'isdefaultsearchfield' => true,
],
'configs' => [
'label' => lng('admin.phpsettings.activephpconfigs'),

View File

@@ -37,6 +37,7 @@ return [
'ip' => [
'label' => lng('admin.ipsandports.ip'),
'field' => 'ip',
'isdefaultsearchfield' => true,
],
'port' => [
'label' => lng('admin.ipsandports.port'),

View File

@@ -40,6 +40,7 @@ return [
'caption' => [
'label' => lng('admin.mysqlserver.caption'),
'field' => 'caption',
'isdefaultsearchfield' => true,
],
'host' => [
'label' => lng('admin.mysqlserver.host'),

View File

@@ -42,6 +42,7 @@ return [
'c.description' => [
'label' => lng('admin.phpsettings.description'),
'field' => 'description',
'isdefaultsearchfield' => true,
],
'domains' => [
'label' => lng('admin.phpsettings.activedomains'),

View File

@@ -40,6 +40,7 @@ return [
'p.name' => [
'label' => lng('admin.plans.name'),
'field' => 'name',
'isdefaultsearchfield' => true,
],
'p.description' => [
'label' => lng('admin.plans.description'),