diff --git a/app/MetaGer.php b/app/MetaGer.php index 8dc7d9a920e62fc1d9fe3a85a047598008a1a08d..0a509284ef760260069891befe7718d39b85575e 100644 --- a/app/MetaGer.php +++ b/app/MetaGer.php @@ -198,7 +198,8 @@ class MetaGer ->with('metager', $this) ->with('browser', (new Agent())->browser()) ->with('quicktips', $quicktipResults) - ->with('resultcount', count($this->results)); + ->with('resultcount', count($this->results)) + ->with('focus', $this->fokus); break; } } diff --git a/resources/views/parts/searchbar.blade.php b/resources/views/parts/searchbar.blade.php index 55fbf7c68f9a2c078df249d8ac38033eb6f1d581..b7954e9580e87ca63e2662535ef2f3a94cefdea9 100644 --- a/resources/views/parts/searchbar.blade.php +++ b/resources/views/parts/searchbar.blade.php @@ -49,6 +49,9 @@ <input type="hidden" name={{ $fp }} value="on"> @endforeach @endif + @if (isset($focus) && !empty($focus)) + <input type="hidden" name="focus" value={{ $focus }}> + @endif @if (isset($theme)) <input type="hidden" name="theme" value={{ $theme }}> @endif