This commit is contained in:
Toks
2014-07-30 16:23:07 -04:00
parent 1599e17b04
commit 6666cf9050
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
var html = '';
<% if @results.any? %>
<% @results.each do |match| %>
html += '<%= j PostPresenter.preview(Post.find(match.post_id)) %>';
html += '<%= j PostPresenter.preview(Post.find(match.post_id), :tags => "status:any") %>';
<% end %>
<% else %>
html += '<p>No matches found</p>';

View File

@@ -1,7 +1,7 @@
<% if @results.any? %>
<h3>Similar</h3>
<% @results.each do |match| %>
<%= PostPresenter.preview(Post.find(match.post_id)) %>
<%= PostPresenter.preview(Post.find(match.post_id), :tags => "status:any") %>
<% end %>
<% else %>
<h3>Similar</h3>