Skip to content

Commit

Permalink
Changelog for 3.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
janhenckens committed Nov 15, 2023
1 parent b43ead0 commit c3b3520
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to this project will be documented in this file.

## 3.3.2 - 2023-11-15
### Fixed
- Fixed an error on the Control Panel Utility page ([#284](https://github.com/studioespresso/craft-scout/issues/284))
- Fixed an error when saving elements without a site property ([#285](https://github.com/studioespresso/craft-scout/issues/285****))

## 3.3.1 - 2023-11-08

### Added
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": "studioespresso/craft-scout",
"description": "Craft Scout provides a simple solution for adding full-text search to your entries. Scout will automatically keep your search indexes in sync with your entries.",
"type": "craft-plugin",
"version": "3.3.1",
"version": "3.3.2",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion src/Scout.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function (ElementEvent $event) {
->push(
new DeindexElement([
'id' => $element->id,
'siteId' => $element->site->id
'siteId' => $element->site ? $element->site->id : null
])
);
}
Expand Down
4 changes: 2 additions & 2 deletions src/jobs/DeindexElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class DeindexElement extends BaseJob
/** @var int */
public $id;

/** @var int */
public int $siteId;
/** @var int|null */
public int|null $siteId;

public function execute($queue): void
{
Expand Down

0 comments on commit c3b3520

Please sign in to comment.