static/shared/header: perform search in currently selected mode
Added a hidden input element to pass the current search
mode to additional queries made from the search results
page.
Trust: Jamal Carvalho
Run-TryBot: Jamal Carvalho
TryBot-Result: kokoro
autocapitalize="off" autocomplete="off" autocorrect="off" spellcheck="false"
{{- if .Experiments.IsActive "symbol-search" -}} placeholder="Search packages or symbols"
{{- else -}} placeholder="Search for a package"{{- end -}} value="{{.Query}}" />
+ <input name="m" value="{{.SearchMode}}" hidden>
<button class="go-Button go-Button--inverted" aria-label="Submit search">
<img
class="go-Icon"
