Skip to content

Commit

Permalink
Fixed #13570
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Aug 19, 2023
1 parent 7185d3a commit 9610cc7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes for Craft CMS 3.x

## Unreleased

- Fixed a bug where asset exports could be blank if only subfolders were selected.

## 3.8.17 - 2023-08-08

- Fixed a bug where `Craft.BaseElementIndexView::this.canSelectElement()` wasn’t getting applied for lazy-loaded elements.
Expand Down
2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/cp.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion src/web/assets/cp/src/js/BaseElementIndexView.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@ Craft.BaseElementIndexView = Garnish.Base.extend(
let ids = [];
if ($selectedElements) {
for (var i = 0; i < $selectedElements.length; i++) {
ids.push($selectedElements.eq(i).data('id'));
const id = $selectedElements.eq(i).data('id');
if (id) {
ids.push(id);
}
}
}
return ids;
Expand Down

0 comments on commit 9610cc7

Please sign in to comment.