aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/general/search.rhtml1
-rw-r--r--app/views/layouts/default.rhtml2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/views/general/search.rhtml b/app/views/general/search.rhtml
index 7fb4660c5..93b3c8332 100644
--- a/app/views/general/search.rhtml
+++ b/app/views/general/search.rhtml
@@ -94,6 +94,7 @@
<li><strong>requested_from:home_office</strong> to restrict to requests from the <%= link_to "Home Office", show_public_body_url(:url_name => 'home_office') %>, typing the name as in the URL.
<li><strong>requested_by:julian_todd</strong> to restrict to requests made by <%= link_to "Julian Todd", show_user_url(:url_name => 'julian_todd') %>, typing the name as in the URL.
<li><strong>request:</strong> to restrict to a specific request, typing the title as in the URL.
+ <li><strong>filetype:pdf</strong> to find all responses in PDF format. Or try these: <%= IncomingMessage.get_all_file_extentions%>.
<li>Type <strong>01/01/2008..14/01/2008</strong> to only show things that happened in the first two weeks of January.
<li>Read about <a href="http://www.xapian.org/docs/queryparser.html">advanced search operators</a>, such as proximity and wildcards.
</ul>
diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml
index e4f9e898f..198e34452 100644
--- a/app/views/layouts/default.rhtml
+++ b/app/views/layouts/default.rhtml
@@ -40,7 +40,7 @@
<div id="navigation_search">
<% form_tag({:controller => "general", :action => "search_redirect"}, {:id => "navigation_search_form"}) do %>
<p>
- <%= text_field_tag 'query', params[:query], { :size => 25, :id => "navigation_search_query" } %>
+ <%= text_field_tag 'query', params[:query], { :size => 40, :id => "navigation_search_query" } %>
<%= submit_tag "Search" %>
</p>
<% end %>