aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/general/search.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/general/search.rhtml')
-rw-r--r--app/views/general/search.rhtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/general/search.rhtml b/app/views/general/search.rhtml
index 9f021e540..84270c889 100644
--- a/app/views/general/search.rhtml
+++ b/app/views/general/search.rhtml
@@ -11,6 +11,7 @@
<% form_tag({:action => "search_redirect"}, {:id => "search_form"}) do %>
<p>
<%= text_field_tag 'query', @query, { :size => 40 } %>
+ <%= hidden_field_tag 'sortby', params[:sortby] %>
<%= submit_tag "Search" %>
<% if not @search_results.nil? and not @search_results.empty? %>
&nbsp;&nbsp;<a href="/search">Advanced tips</a>