Skip to content

Commit

Permalink
Merge branch '5.x' into 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Nov 10, 2024
2 parents a6909ca + d0654d8 commit a91e286
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
- Fixed a bug where the `utils/fix-field-layout-uids` command was misidentifying missing/duplicate UUID issues.
- Fixed an error that could occur when upgrading to Craft 5, if unused field layouts contained duplicate UUIDs. ([#16032](https://github.com/craftcms/cms/issues/16032))
- Fixed a bug where Live Preview wasn’t reloading after performing bulk actions in embedded element indexes. ([#16057](https://github.com/craftcms/cms/discussions/16057))
- Fixed a bug where restoring a soft-deleted element would restore any nested elements that had been explicitly soft-deleted. ([#16059](https://github.com/craftcms/cms/issues/16059))
- Fixed a mobile styling bug.

## 5.4.10.1 - 2024-11-07

Expand Down
4 changes: 3 additions & 1 deletion src/elements/NestedElementManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -1240,8 +1240,10 @@ public function deleteNestedElements(ElementInterface $owner, bool $hardDelete =
$elementsService = Craft::$app->getElements();
$query = $this->nestedElementQuery($owner)
->status(null)
->trashed(null)
->siteId($siteId);
if ($hardDelete) {
$query->trashed(null);
}
$query->{$this->ownerIdParam} = null;
$query->{$this->primaryOwnerIdParam} = $owner->id;
/** @var NestedElementInterface[] $elements */
Expand Down
2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/css/cp.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/css/cp.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/src/css/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5448,7 +5448,7 @@ table.data tbody tr:not(.disabled).active-drop-target {
margin-block: calc(var(--xl) * -1) var(--xl);
margin-inline: var(--neg-padding);
padding-block: 5px 6px;
padding-inline: var(--xl);
padding-inline: var(--padding);
min-height: 45px;
box-sizing: border-box;
box-shadow: inset 0 -1px 0 0 color.adjust(mixins.$grey300, $alpha: -0.75);
Expand Down

0 comments on commit a91e286

Please sign in to comment.