PostPresenter.preview: standardize on show_deleted: true.
Standardize on using `show_deleted: true` instead of `tags: "status:any"` when rendering thumbnails and we want to show deleted thumbnails. Also fixes it so that deleted thumbnails are shown when reordering pools and favorite groups.
This commit is contained in:
@@ -14,13 +14,13 @@
|
||||
|
||||
<span class="iqdb-posts-high-similarity">
|
||||
<% @high_similarity_matches.each do |match| %>
|
||||
<%= PostPresenter.preview(match["post"], tags: "status:any", similarity: match["score"], size: true) %>
|
||||
<%= PostPresenter.preview(match["post"], show_deleted: true, similarity: match["score"], size: true) %>
|
||||
<% end %>
|
||||
</span>
|
||||
|
||||
<span class="iqdb-posts-low-similarity" style="display: none">
|
||||
<% @low_similarity_matches.each do |match| %>
|
||||
<%= PostPresenter.preview(match["post"], tags: "status:any", similarity: match["score"], size: true) %>
|
||||
<%= PostPresenter.preview(match["post"], show_deleted: true, similarity: match["score"], size: true) %>
|
||||
<% end %>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user