Loading core/modules/workspaces/src/EntityQuery/QueryTrait.php +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ public function prepare() { // Only alter the query if the active workspace is not the default one and // the entity type is supported. if ($this->workspaceManager->hasActiveWorkspace() && $this->workspaceManager->isEntityTypeSupported($this->entityType)) { if ($this->workspaceManager->isEntityTypeSupported($this->entityType) && $this->workspaceManager->hasActiveWorkspace()) { $active_workspace = $this->workspaceManager->getActiveWorkspace(); $this->sqlQuery->addMetaData('active_workspace_id', $active_workspace->id()); $this->sqlQuery->addMetaData('simple_query', FALSE); Loading Loading
core/modules/workspaces/src/EntityQuery/QueryTrait.php +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ public function prepare() { // Only alter the query if the active workspace is not the default one and // the entity type is supported. if ($this->workspaceManager->hasActiveWorkspace() && $this->workspaceManager->isEntityTypeSupported($this->entityType)) { if ($this->workspaceManager->isEntityTypeSupported($this->entityType) && $this->workspaceManager->hasActiveWorkspace()) { $active_workspace = $this->workspaceManager->getActiveWorkspace(); $this->sqlQuery->addMetaData('active_workspace_id', $active_workspace->id()); $this->sqlQuery->addMetaData('simple_query', FALSE); Loading