make search-result links a filter/search for the overview instead of the direct edit-link; show number of total entries in overview; show 'back to overview' button when showing search-result

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-04-01 16:47:22 +02:00
parent 0312548e88
commit 1441ed9a99
17 changed files with 71 additions and 26 deletions

View File

@@ -23,7 +23,11 @@ return [
'domain_list' => [
'title' => $lng['admin']['domains'],
'icon' => 'fa-solid fa-globe',
'self_overview' => ['section' => 'domains', 'page' => 'domains'],
'columns' => [
'ad.id' => [
'field' => 'aliasdomainid'
],
'd.domain_ace' => [
'label' => $lng['domains']['domainname'],
'field' => 'domain_ace',
@@ -92,8 +96,8 @@ return [
'href' => [
'section' => 'domains',
'page' => 'domains',
'searchfield' => 'd.aliasdomain',
'searchtext' => ':domainaliasid'
'searchfield' => 'ad.id',
'searchtext' => ':id'
],
'visible' => [Domain::class, 'canEditAlias']
],