Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into issue-155-plone-61
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Sep 5, 2024
2 parents d642c5f + 63715cc commit fb5b939
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@

<!-- towncrier release notes start -->

## 4.4.3 (2024-08-01)

Bug fixes:


- Fix getting the the variation when migrating collections to listing blocks. @pbauer (#158)


## 4.4.2 (2024-06-26)

### Bug fixes:
Expand Down
2 changes: 1 addition & 1 deletion src/plone/volto/browser/migrate_to_volto.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def generate_listing_block_from_collection(obj, move_relative_path=False):
"summary_view": "summary",
"album_view": "imageGallery",
}
variation = variation_mapping.get(obj.getLayout, "default")
variation = variation_mapping.get(obj.getLayout(), "default")
block = {
"@type": "listing",
"querystring": qs,
Expand Down

0 comments on commit fb5b939

Please sign in to comment.