projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
modules
/
comment
/
src
/
Plugin
/
EntityReferenceSelection
/
CommentSelection.php
diff --git
a/web/core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php
b/web/core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php
index 2492fc4336baa045b83a08ae8714e96057f32d39..414c5b23111a29a53d22e733033fdc7fa7556a74 100644
(file)
--- 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'])) {