Skip to content

Commit

Permalink
Merge pull request #6207 from avalonmediasystem/retain_search
Browse files Browse the repository at this point in the history
Display current search in search bar
  • Loading branch information
masaball authored Feb 25, 2025
2 parents cd58052 + 2c28ee3 commit 5a756d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/modules/_avalon_search_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Unless required by applicable law or agreed to in writing, software distributed
<label class="sr-only" for=<%= "searchField-#{form_id}"%>>Search</label>
<div class="input-group input-group-lg global-search-wrapper">
<input class="search-query q form-control global-search-input" id=<%= "searchField-#{form_id}"%> name="q"
placeholder="Search this site" type="text" value="">
placeholder="Search this site" type="text" value="<%= params[:q] %>">
<span class="input-group-append">
<button type="submit" class="btn btn-primary global-search-submit" aria-label="Submit search">
<i class="fa fa-search icon-white"></i>
Expand Down

0 comments on commit 5a756d6

Please sign in to comment.