Skip to content

Commit

Permalink
3.0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
internetztube committed Jun 18, 2024
1 parent 6de8446 commit e90a100
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "internetztube/craft-element-relations",
"description": "Shows all relations of an element.",
"type": "craft-plugin",
"version": "3.0.2.2",
"version": "3.0.2.3",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion src/jobs/GenerateResaveAllElementRelationsJobsJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function execute($queue): void
->from(['elements_sites' => Table::ELEMENTS_SITES])
->innerJoin(['elements' => Table::ELEMENTS], "[[elements.id]] = [[elements_sites.elementId]]")
->where(['is', 'elements.dateDeleted', null])
->where(['is', 'elements.revisionId', null]);
->andWhere(['is', 'elements.revisionId', null]);

$batchSize = 2000;
$totalCount = $query->count();
Expand Down

0 comments on commit e90a100

Please sign in to comment.