fix column-customizer for non-api based resources; add more no_search=true tags in various tablelistings where search is not available
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -57,9 +57,10 @@ class Listing
|
||||
];
|
||||
}
|
||||
|
||||
public static function formatFromArray(array $collection, array $tabellisting): array
|
||||
public static function formatFromArray(array $collection, array $tabellisting, string $id): array
|
||||
{
|
||||
return [
|
||||
'id' => $id,
|
||||
'title' => $tabellisting['title'],
|
||||
'description' => $tabellisting['description'] ?? null,
|
||||
'icon' => $tabellisting['icon'] ?? null,
|
||||
|
||||
@@ -31,6 +31,7 @@ return [
|
||||
'icon' => 'fa-solid fa-file-lines',
|
||||
'self_overview' => ['section' => 'templates', 'page' => 'email'],
|
||||
'default_sorting' => ['template' => 'asc'],
|
||||
'no_search' => true,
|
||||
'columns' => [
|
||||
'template' => [
|
||||
'label' => lng('admin.templates.action'),
|
||||
|
||||
@@ -33,6 +33,7 @@ return [
|
||||
'icon' => 'fa-solid fa-circle-check',
|
||||
'self_overview' => ['section' => 'settings', 'page' => 'integritycheck'],
|
||||
'default_sorting' => ['displayid' => 'asc'],
|
||||
'no_search' => true,
|
||||
'columns' => [
|
||||
'displayid' => [
|
||||
'label' => 'ID',
|
||||
|
||||
@@ -31,6 +31,7 @@ return [
|
||||
'icon' => 'fa-solid fa-envelope',
|
||||
'self_overview' => ['section' => 'templates', 'page' => 'email'],
|
||||
'default_sorting' => ['template' => 'asc'],
|
||||
'no_search' => true,
|
||||
'columns' => [
|
||||
'language' => [
|
||||
'label' => lng('login.language'),
|
||||
|
||||
@@ -33,6 +33,7 @@ return [
|
||||
'title' => lng('menue.main.apikeys'),
|
||||
'icon' => 'fa-solid fa-key',
|
||||
'self_overview' => ['section' => 'index', 'page' => 'apikeys'],
|
||||
'no_search' => true,
|
||||
'columns' => [
|
||||
'a.loginname' => [
|
||||
'label' => lng('login.username'),
|
||||
|
||||
Reference in New Issue
Block a user