show search-text on listings with link to remove set filter

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-10-02 10:35:43 +02:00
parent 8bd133b488
commit 13c53b074c
2 changed files with 5 additions and 0 deletions

View File

@@ -296,6 +296,7 @@ unset($css);
$action = Request::get('action');
$page = Request::get('page', 'overview');
$gSearchText = Request::get('searchtext');
// clear request data
if (!$action && isset($_SESSION)) {
@@ -305,6 +306,7 @@ if (!$action && isset($_SESSION)) {
UI::twig()->addGlobal('action', $action);
UI::twig()->addGlobal('page', $page);
UI::twig()->addGlobal('area', AREA);
UI::twig()->addGlobal('gSearchText', $gSearchText);
/**
* Initialize the mailingsystem