Skip to content
Snippets Groups Projects
Commit e4fefba4 authored by Phil Höfer's avatar Phil Höfer
Browse files

Merge branch '750-suchfokus-beibehalten-bei-neuer-suche' into 'development'

Resolve "Suchfokus beibehalten bei neuer Suche"

Closes #750

See merge request !1257
parents ec60e072 563a0905
No related branches found
No related tags found
2 merge requests!1262WIP: Resolve "Spendenseite Texte anpassen",!1257Resolve "Suchfokus beibehalten bei neuer Suche"
...@@ -198,7 +198,8 @@ class MetaGer ...@@ -198,7 +198,8 @@ class MetaGer
->with('metager', $this) ->with('metager', $this)
->with('browser', (new Agent())->browser()) ->with('browser', (new Agent())->browser())
->with('quicktips', $quicktipResults) ->with('quicktips', $quicktipResults)
->with('resultcount', count($this->results)); ->with('resultcount', count($this->results))
->with('focus', $this->fokus);
break; break;
} }
} }
......
...@@ -49,6 +49,9 @@ ...@@ -49,6 +49,9 @@
<input type="hidden" name={{ $fp }} value="on"> <input type="hidden" name={{ $fp }} value="on">
@endforeach @endforeach
@endif @endif
@if (isset($focus) && !empty($focus))
<input type="hidden" name="focus" value={{ $focus }}>
@endif
@if (isset($theme)) @if (isset($theme))
<input type="hidden" name="theme" value={{ $theme }}> <input type="hidden" name="theme" value={{ $theme }}>
@endif @endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment