Skip to content

Commit

Permalink
Fix label for page title in email
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffersonBledsoe committed Feb 5, 2025
1 parent f283b92 commit 8bd3796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collective/volto/formsupport/adapters/post.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def filter_parameters(self):
fields.append(construct_field({'field_id': 'url', 'label': 'URL', 'value': parsedUrl.path}))
if "title" in additionalInfo:
if content_object_for_path:
fields.append(construct_field({'field_id': 'url', 'label': 'URL', 'value': content_object_for_path.title}))
fields.append(construct_field({'field_id': 'current_page_title', 'label': 'Page title', 'value': content_object_for_path.title}))
else:
print("FAILED TO GET CONTENT OBJECT")

Expand Down

0 comments on commit 8bd3796

Please sign in to comment.