aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/general/_frontpage_search_box.html.erb2
-rw-r--r--app/views/general/_header.html.erb2
-rw-r--r--app/views/general/_responsive_topnav.html.erb2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/general/_frontpage_search_box.html.erb b/app/views/general/_frontpage_search_box.html.erb
index f77bd97fc..a58d837f8 100644
--- a/app/views/general/_frontpage_search_box.html.erb
+++ b/app/views/general/_frontpage_search_box.html.erb
@@ -5,7 +5,7 @@
:number_of_requests => number_with_delimiter(InfoRequest.visible.count),
:number_of_authorities => number_with_delimiter(PublicBody.visible.count)) %>
</h2>
-<form id="search_form" method="post" action="<%= search_redirect_path %>">
+<form id="search_form" method="get" action="<%= search_redirect_path %>">
<div>
<input id="query" type="text" size="30" name="query" title="type your search term here" >
<input type="submit" value="<%= _('Search') %>">
diff --git a/app/views/general/_header.html.erb b/app/views/general/_header.html.erb
index 55bf719e2..f465668a5 100644
--- a/app/views/general/_header.html.erb
+++ b/app/views/general/_header.html.erb
@@ -22,7 +22,7 @@
<% end %>
<div id="navigation_search">
- <form id="navigation_search_form" method="post" action="<%= search_redirect_path %>">
+ <form id="navigation_search_form" method="get" action="<%= search_redirect_path %>">
<p>
<%= text_field_tag 'query', params[:query], { :size => 40, :id => "navigation_search_query", :title => "type your search term here" } %>
<input id="navigation_search_button" type="submit" value="search">
diff --git a/app/views/general/_responsive_topnav.html.erb b/app/views/general/_responsive_topnav.html.erb
index 0ece0da9a..0af6629c8 100644
--- a/app/views/general/_responsive_topnav.html.erb
+++ b/app/views/general/_responsive_topnav.html.erb
@@ -21,7 +21,7 @@
</li>
<li id="navigation_search">
- <form id="navigation_search_form" method="post" action="<%= search_redirect_path %>">
+ <form id="navigation_search_form" method="get" action="<%= search_redirect_path %>">
<label for="navigation_search_button">
<img src="/assets/search.png" alt="Search:">
</label>