aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/request/show.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/request/show.rhtml')
-rw-r--r--app/views/request/show.rhtml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/request/show.rhtml b/app/views/request/show.rhtml
index a994df6cd..f3971a303 100644
--- a/app/views/request/show.rhtml
+++ b/app/views/request/show.rhtml
@@ -25,6 +25,14 @@
<% end %>
<% end %>
+ <% if @xapian_similar.results.size > 0 %>
+ <h2>Similar requests</h2>
+ <% for result in @xapian_similar.results %>
+ <%= render :partial => 'request/request_listing_via_event', :locals => { :event => result[:model], :info_request => result[:model].info_request } %>
+ <% end %>
+ <% end %>
+ <%= @xapian_similar.important_terms.join(" ") %>
+
<!--<h2>Blog posts about this request</h2>
<p>...
<h2>Wikipedia articles</h2>