reverted: --- b/core/modules/tracker/tracker.pages.inc +++ a/core/modules/tracker/tracker.pages.inc @@ -70,7 +70,6 @@ else { $nodes[$nid]->last_comment_timestamp = max($nodes[$nid]->last_comment_timestamp, $statistics->last_comment_timestamp); } - $nodes[$nid]->last_comment_field_name = $statistics->field_name; } // Display the data. @@ -106,7 +105,6 @@ 'class' => ['comments'], 'data' => $comments, 'data-history-node-last-comment-timestamp' => $node->last_comment_timestamp, - 'data-history-node-last-comment-field-name' => $node->last_comment_field_name, ], 'last updated' => [ 'data' => t('@time ago', [ only in patch2: unchanged: --- a/core/modules/tracker/src/Controller/TrackerController.php +++ b/core/modules/tracker/src/Controller/TrackerController.php @@ -179,6 +179,7 @@ public function buildContent(UserInterface $user = NULL) { else { $tracker_data[$nid]->last_comment_timestamp = max($tracker_data[$nid]->last_comment_timestamp, $statistics->last_comment_timestamp); } + $tracker_data[$nid]->last_comment_field_name = $statistics->field_name; } // Display the data. @@ -209,6 +210,7 @@ public function buildContent(UserInterface $user = NULL) { 'class' => ['comments'], 'data' => $tracker_data[$node->id()]->comment_count ?? 0, 'data-history-node-last-comment-timestamp' => $tracker_data[$node->id()]->last_comment_timestamp ?? 0, + 'data-history-node-last-comment-field-name' => $tracker_data[$node->id()]->last_comment_field_name, ], 'last updated' => [ 'data' => t('@time ago', [