Skip to content

Commit

Permalink
3.0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
internetztube committed Jun 18, 2024
1 parent 3f61221 commit 507fd3a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 3.0.2.1 - 2024-06-18
### Fixed
- Don't include revisions in Resave Queue Jobs.

## 3.0.2 - 2024-06-18
### Fixed
- Move Resaving completely into queue + 10k batching.
Expand Down
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",
"version": "3.0.2.1",
"keywords": [
"craft",
"cms",
Expand Down
3 changes: 2 additions & 1 deletion src/jobs/GenerateResaveAllElementRelationsJobsJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ 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.dateDeleted', null])
->where(['is', 'elements.revisionId', null]);

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

0 comments on commit 507fd3a

Please sign in to comment.