Skip to content

Commit

Permalink
switch query param from s to q
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeffleyfamous committed May 9, 2024
1 parent 7ac6b0b commit c7277d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion best-cigars-guide/blocks/header/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default async function decorate(block) {
searchBox.innerHTML = `
<form role="search" action="/best-cigars-guide/search" class="search search-header">
<label for="header-search-term">Search</label>
<input type="search" id="header-search-term" maxlength="255" placeholder="Search" name="s" autocomplete="off">
<input type="search" id="header-search-term" maxlength="255" placeholder="Search" name="q" autocomplete="off">
<button type="submit" class="search-submit" value="Submit" title="Submit">
<span class="icon icon-search"><img data-icon-name="search" src="/best-cigars-guide/icons/search.svg" alt="Search" title="Search" loading="lazy"></span>
</button>
Expand Down

0 comments on commit c7277d5

Please sign in to comment.