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:
evazion
2020-02-18 18:43:46 -06:00
parent 1244e02fe2
commit 72e56d8856
11 changed files with 12 additions and 12 deletions

View File

@@ -14,7 +14,7 @@
<ul id="sortable">
<% @pool.posts.each do |post| %>
<li class="ui-state-default" id="pool[post_ids]_<%= post.id %>">
<%= PostPresenter.preview(post).presence || "Hidden: Post ##{post.id}" %>
<%= PostPresenter.preview(post, show_deleted: true).presence || "Hidden: Post ##{post.id}" %>
</li>
<% end %>
</ul>