add default-sorting of listings in frontend
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -36,6 +36,7 @@ return [
|
||||
'title' => lng('admin.admin'),
|
||||
'icon' => 'fa-solid fa-user',
|
||||
'self_overview' => ['section' => 'admins', 'page' => 'admins'],
|
||||
'default_sorting' => ['loginname' => 'asc'],
|
||||
'columns' => [
|
||||
'adminid' => [
|
||||
'label' => 'ID',
|
||||
|
||||
@@ -30,6 +30,7 @@ return [
|
||||
'cron_list' => [
|
||||
'title' => lng('admin.cron.cronsettings'),
|
||||
'icon' => 'fa-solid fa-clock-rotate-left',
|
||||
'default_sorting' => ['c.id' => 'asc'],
|
||||
'columns' => [
|
||||
'c.desc_lng_key' => [
|
||||
'label' => lng('cron.description'),
|
||||
|
||||
@@ -36,6 +36,7 @@ return [
|
||||
'description' => lng('admin.customers_list_desc'),
|
||||
'icon' => 'fa-solid fa-user',
|
||||
'self_overview' => ['section' => 'customers', 'page' => 'customers'],
|
||||
'default_sorting' => ['c.name' => 'asc'],
|
||||
'columns' => [
|
||||
'c.customerid' => [
|
||||
'label' => 'ID',
|
||||
|
||||
@@ -35,6 +35,7 @@ return [
|
||||
'icon' => 'fa-solid fa-globe',
|
||||
'empty_msg' => $customerCollection->count() == 0 ? lng('admin.domain_nocustomeraddingavailable') : '',
|
||||
'self_overview' => ['section' => 'domains', 'page' => 'domains'],
|
||||
'default_sorting' => ['d.domain_ace' => 'asc'],
|
||||
'columns' => [
|
||||
'd.id' => [
|
||||
'label' => 'ID',
|
||||
|
||||
@@ -30,6 +30,7 @@ return [
|
||||
'title' => lng('admin.templates.filetemplates'),
|
||||
'icon' => 'fa-solid fa-file-lines',
|
||||
'self_overview' => ['section' => 'templates', 'page' => 'email'],
|
||||
'default_sorting' => ['template' => 'asc'],
|
||||
'columns' => [
|
||||
'template' => [
|
||||
'label' => lng('admin.templates.action'),
|
||||
|
||||
@@ -32,6 +32,7 @@ return [
|
||||
'title' => lng('menue.phpsettings.fpmdaemons'),
|
||||
'icon' => 'fa-brands fa-php',
|
||||
'self_overview' => ['section' => 'phpsettings', 'page' => 'fpmdaemons'],
|
||||
'default_sorting' => ['description' => 'asc'],
|
||||
'columns' => [
|
||||
'id' => [
|
||||
'label' => 'ID',
|
||||
|
||||
@@ -32,6 +32,7 @@ return [
|
||||
'title' => lng('admin.integritycheck'),
|
||||
'icon' => 'fa-solid fa-circle-check',
|
||||
'self_overview' => ['section' => 'settings', 'page' => 'integritycheck'],
|
||||
'default_sorting' => ['displayid' => 'asc'],
|
||||
'columns' => [
|
||||
'displayid' => [
|
||||
'label' => 'ID',
|
||||
|
||||
@@ -32,6 +32,7 @@ return [
|
||||
'title' => lng('admin.ipsandports.ipsandports'),
|
||||
'icon' => 'fa-solid fa-ethernet',
|
||||
'self_overview' => ['section' => 'ipsandports', 'page' => 'ipsandports'],
|
||||
'default_sorting' => ['ip' => 'asc'],
|
||||
'columns' => [
|
||||
'ip' => [
|
||||
'label' => lng('admin.ipsandports.ip'),
|
||||
|
||||
@@ -30,6 +30,7 @@ return [
|
||||
'title' => lng('admin.templates.templates'),
|
||||
'icon' => 'fa-solid fa-envelope',
|
||||
'self_overview' => ['section' => 'templates', 'page' => 'email'],
|
||||
'default_sorting' => ['template' => 'asc'],
|
||||
'columns' => [
|
||||
'language' => [
|
||||
'label' => lng('login.language'),
|
||||
|
||||
@@ -31,6 +31,7 @@ return [
|
||||
'title' => lng('admin.mysqlserver.mysqlserver'),
|
||||
'icon' => 'fa-solid fa-server',
|
||||
'self_overview' => ['section' => 'mysqlserver', 'page' => 'mysqlserver'],
|
||||
'default_sorting' => ['caption' => 'asc'],
|
||||
'columns' => [
|
||||
'id' => [
|
||||
'label' => lng('admin.mysqlserver.dbserver'),
|
||||
|
||||
@@ -33,6 +33,7 @@ return [
|
||||
'title' => lng('menue.phpsettings.maintitle'),
|
||||
'icon' => 'fa-brands fa-php',
|
||||
'self_overview' => ['section' => 'phpsettings', 'page' => 'overview'],
|
||||
'default_sorting' => ['c.description' => 'asc'],
|
||||
'columns' => [
|
||||
'c.id' => [
|
||||
'label' => 'ID',
|
||||
|
||||
@@ -31,6 +31,7 @@ return [
|
||||
'title' => lng('admin.plans.plans'),
|
||||
'icon' => 'fa-solid fa-clipboard-list',
|
||||
'self_overview' => ['section' => 'plans', 'page' => 'overview'],
|
||||
'default_sorting' => ['p.name' => 'asc'],
|
||||
'columns' => [
|
||||
'p.id' => [
|
||||
'label' => 'ID',
|
||||
|
||||
Reference in New Issue
Block a user