fixes #2236
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
var html = '';
|
var html = '';
|
||||||
<% if @results.any? %>
|
<% if @results.any? %>
|
||||||
<% @results.each do |match| %>
|
<% @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 %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
html += '<p>No matches found</p>';
|
html += '<p>No matches found</p>';
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<% if @results.any? %>
|
<% if @results.any? %>
|
||||||
<h3>Similar</h3>
|
<h3>Similar</h3>
|
||||||
<% @results.each do |match| %>
|
<% @results.each do |match| %>
|
||||||
<%= PostPresenter.preview(Post.find(match.post_id)) %>
|
<%= PostPresenter.preview(Post.find(match.post_id), :tags => "status:any") %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<h3>Similar</h3>
|
<h3>Similar</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user