Merge pull request #4306 from BrokenEagle/fix-commentary-version-post-search

Fix searching artist commentaries by post ID
This commit is contained in:
evazion
2020-02-23 01:01:26 -06:00
committed by GitHub

View File

@@ -1,6 +1,6 @@
<div id="p-<%= listing_type(:post_id) %>-listing">
<% if listing_type(:post_id) == :revert %>
<% if listing_type(:post_id) == :revert && @commentary_versions.present? %>
<%= PostPresenter.preview(@commentary_versions.first.post, show_deleted: true) %>
<% end %>