Skip to content
Snippets Groups Projects
Commit df5f6837 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Update StartpageController.php

parent c4f316aa
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
......@@ -28,7 +28,7 @@ class StartpageController extends Controller
$focusPages = [];
$theme = "default";
foreach ($request->all() as $key => $value) {
if ($value === 'on' && $key != 'param_sprueche' && $key != 'param_tab' && $key !== 'param_maps' && $key !== 'param_autocomplete') {
if ($value === 'on' && $key != 'param_sprueche' && $key != 'param_newtab' && $key !== 'param_maps' && $key !== 'param_autocomplete') {
$focusPages[] = str_replace('param_', '', $key);
}
if ($key === 'param_theme') {
......@@ -49,7 +49,7 @@ class StartpageController extends Controller
->with('resultCount', $request->input('param_resultCount', '20'))
->with('time', $request->input('param_time', '1000'))
->with('sprueche', $request->input('param_sprueche', 'off'))
->with('tab', $request->input('param_tab', 'off'))
->with('tab', $request->input('param_newtab', 'on'))
->with('focusPages', $focusPages)
->with('browser', $browser)
->with('navbarFocus', 'suche')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment