summaryrefslogtreecommitdiffstats
path: root/app/views/search
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-09 11:25:01 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-09 11:25:01 +0000
commit389c7779e6ed985cfae60cd532daa82565fbe80d (patch)
tree834872538eedd5df013eae31f246627b5b77cadb /app/views/search
parent2072669769d24248789366e6552231c1cac5695d (diff)
downloadredmine-389c7779e6ed985cfae60cd532daa82565fbe80d.tar.gz
redmine-389c7779e6ed985cfae60cd532daa82565fbe80d.zip
Fixed: search options get lost after clicking on a specific result type (#7501).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6201 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/search')
-rw-r--r--app/views/search/index.rhtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/search/index.rhtml b/app/views/search/index.rhtml
index 13ec567d9..0cedc4b14 100644
--- a/app/views/search/index.rhtml
+++ b/app/views/search/index.rhtml
@@ -5,7 +5,9 @@
<p><%= text_field_tag 'q', @question, :size => 60, :id => 'search-input' %>
<%= javascript_tag "Field.focus('search-input')" %>
<%= project_select_tag %>
+<%= hidden_field_tag 'all_words', '', :id => nil %>
<label><%= check_box_tag 'all_words', 1, @all_words %> <%= l(:label_all_words) %></label>
+<%= hidden_field_tag 'titles_only', '', :id => nil %>
<label><%= check_box_tag 'titles_only', 1, @titles_only %> <%= l(:label_search_titles_only) %></label>
</p>
<p>