We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents faf5da5 + 8e4b29f commit 1b9b54dCopy full SHA for 1b9b54d
app/controllers/site_controller.rb
@@ -11,14 +11,14 @@ def index
11
12
# called when you start typing into search form
13
def search
14
- @term = sname = params["search"].to_s.downcase
+ @term = sname = request.query_parameters["search"].to_s.downcase
15
@data = search_term(sname)
16
render partial: "shared/search"
17
end
18
19
# called when you submit your search
20
def search_results
21
22
data = search_term(sname, true)
23
@top = []
24
@rest = []
0 commit comments