Merge pull request #4306 from BrokenEagle/fix-commentary-version-post-search
Fix searching artist commentaries by post ID
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<div id="p-<%= listing_type(:post_id) %>-listing">
|
<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) %>
|
<%= PostPresenter.preview(@commentary_versions.first.post, show_deleted: true) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user