X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcomment%2Fsrc%2FPlugin%2FEntityReferenceSelection%2FCommentSelection.php;h=414c5b23111a29a53d22e733033fdc7fa7556a74;hb=refs%2Fheads%2Ft2;hp=2492fc4336baa045b83a08ae8714e96057f32d39;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php b/web/core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php index 2492fc433..414c5b231 100644 --- a/web/core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php +++ b/web/core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php @@ -66,6 +66,8 @@ class CommentSelection extends DefaultSelection { * {@inheritdoc} */ public function entityQueryAlter(SelectInterface $query) { + parent::entityQueryAlter($query); + $tables = $query->getTables(); $data_table = 'comment_field_data'; if (!isset($tables['comment_field_data']['alias'])) {