From 50caef6783486bf07d3596254a6758b0bd258b0c Mon Sep 17 00:00:00 2001 From: David Taylor Date: Tue, 2 Apr 2024 12:08:26 +0100 Subject: [PATCH] FIX: Restore author on non-first-post crawler views (#26459) Followup to 3329484e2d64951956981bde9bff662d6ad8b412 --- app/views/topics/show.html.erb | 2 +- spec/requests/topics_controller_spec.rb | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb index ed817508c96..54d030d1106 100644 --- a/app/views/topics/show.html.erb +++ b/app/views/topics/show.html.erb @@ -51,7 +51,7 @@ <% end %> - <% if @topic_view.posts&.first && !@topic_view.posts.first.is_first_post? %> + <% if @topic_view.crawler_posts&.first && !@topic_view.crawler_posts.first.is_first_post? %>