Skip to content

Commit

Permalink
Issue #3485498: Fix PHP exception in activity visibility filter relat…
Browse files Browse the repository at this point in the history
…ed to views join
  • Loading branch information
v-kovaliks committed Nov 5, 2024
1 parent 5f03488 commit ffdabff
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public function query(): void {

if ($account->isAnonymous()) {
$configuration['table'] = 'node_field_data';
$configuration['field'] = 'nid';
/** @var \Drupal\views\Plugin\views\join\JoinPluginBase $join */
$join = Views::pluginManager('join')->createInstance('standard', $configuration);
$query->addRelationship('node_field_data', $join, 'node_field_data');
Expand Down

0 comments on commit ffdabff

Please sign in to comment.