Skip to content

Commit

Permalink
Classic UI support
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Nov 10, 2023
1 parent 284f577 commit 1f63fba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Changelog
"include_in_parent": true, allows to search with non-nested query.
[ksuess]
- code-style: black & isort [jensens]
- Add support for Plone ClassicUI based sites (no Volto blocks available) [jensens]


1.4 (2023-08-17)
Expand Down
6 changes: 3 additions & 3 deletions src/collective/elastic/ingest/ingest/blocks.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
def enrichWithBlocksPlainText(content):
content["blocks_plaintext"] = content["@components"]["collectiveelastic"][
"blocks_plaintext"
]
cce = content["@components"]["collectiveelastic"]
if "blocks_plaintext" in cce:
content["blocks_plaintext"] = cce["blocks_plaintext"]
return content

0 comments on commit 1f63fba

Please sign in to comment.