aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/general/frontpage.rhtml
diff options
context:
space:
mode:
authorSeb Bacon <seb@mysociety.org>2012-01-09 09:37:48 +0000
committerSeb Bacon <seb@mysociety.org>2012-01-09 09:37:48 +0000
commit4f8ff37a127d5f82e63f500a84d22e8b07ab8843 (patch)
tree568a051bdf11be4099e2ac023aa0cb0d2c28594f /app/views/general/frontpage.rhtml
parentdb9eb3724242e82d4275418002e135f6b1c056e9 (diff)
parent848483381694e67999e446d3784b0c32dfdc3f8d (diff)
Merge branch 'release/0.5' into develop
Diffstat (limited to 'app/views/general/frontpage.rhtml')
-rw-r--r--app/views/general/frontpage.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/general/frontpage.rhtml b/app/views/general/frontpage.rhtml
index 35751b6a4..da45a8c37 100644
--- a/app/views/general/frontpage.rhtml
+++ b/app/views/general/frontpage.rhtml
@@ -60,7 +60,7 @@
<%= public_body_link(event.info_request.public_body) %> <%= _('answered a request about') %>
<%=link_to h(event.info_request.title), request_url(event.info_request)%>
<%= _('{{length_of_time}} ago', :length_of_time => time_ago_in_words(event.described_at)) %>
- <p class="excerpt" onclick="document.location.href='<%=request_url(event.info_request)%>'"><%= excerpt(event.info_request.title, "", 200) %></p>
+ <p class="excerpt" onclick="document.location.href='<%=request_url(event.info_request)%>'"><%= excerpt(event.search_text_main(true), "", 200) %></p>
</li>
<% end %>
</ul>