diff options
author | Francis Irving <francis@mysociety.org> | 2010-10-09 14:21:21 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-10-09 14:21:21 +0100 |
commit | 16a492f35f25f18ae89d48adc5531ed3466bcf6a (patch) | |
tree | 66f70d59b12a6da3b644ef1b09b53a8069a9fa9b | |
parent | a3161580ce204afe52d73e6248a5d60cc0e2476e (diff) |
Help on search for tags.
-rw-r--r-- | app/views/general/search.rhtml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/general/search.rhtml b/app/views/general/search.rhtml index 9faf2f98b..b6e494467 100644 --- a/app/views/general/search.rhtml +++ b/app/views/general/search.rhtml @@ -118,6 +118,8 @@ <li><strong><%=search_link('commented_by:tony_bowden')%></strong> to search annotations made by <%= link_to "Tony Bowden", show_user_url(:url_name => 'tony_bowden') %>, 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><%=search_link('filetype:pdf')%></strong> to find all responses with PDF attachments. Or try these: <%= IncomingMessage.get_all_file_extentions%>. + <li><strong><%=search_link('tag:charity')%></strong> to find all public bodies or requests with a given tag. You can include multiple tags, + and tag values, e.g. <%=search_link('openlylocal financial_transaction:335633')%>. <li>Type <strong><%=search_link('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> |