Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcia Ramos <marcia@gitlab.com>2020-10-05 13:10:25 +0300
committerJacques Erasmus <jerasmus@gitlab.com>2020-10-05 13:10:25 +0300
commit5db6559faa494ec40e9eac5b1aaf593bcc988b56 (patch)
treefb85dd70262045719d1154fb4816fc456b13e359 /layouts/header.html
parent69943943b78596bc2edc892a3cf05c1ca7272f80 (diff)
Fixes openseach (browser search)
1. In the browser, type docs.gitlab.com + press tab 1. Type the search query and press enter Was: `?q`, now is `?query`.
Diffstat (limited to 'layouts/header.html')
-rw-r--r--layouts/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/header.html b/layouts/header.html
index 71d16a67..ee64f077 100644
--- a/layouts/header.html
+++ b/layouts/header.html
@@ -7,7 +7,7 @@
<% if @item[:searchbar].nil? %>
<% unless @item.identifier.to_s.split('/')[1] == 'search' %>
<form id="search-form" action="/search/" method="get">
- <input type="text" name="q" class="docsearch" placeholder="Search our docs" required/>
+ <input type="text" name="query" class="docsearch" placeholder="Search our docs" required/>
<input type="submit" style="visibility: hidden; position:absolute;" />
</form>
<% end %>