The per node active default value is not taken into account

Created on 15 May 2025, about 23 hours ago

Problem/Motivation

It is currently not possible to set the default value for the field that activates sharing on social networks on a per node basis. The related node type parameter is not taken into account.

Steps to reproduce

When configuring Better Social Sharing Buttons for a specific node type, check the "Default state for sharing buttons per node" checkbox.

Create a new node of that type and see that the "Display the social sharing buttons" checkbox is not checked by default as it should.

Proposed resolution

We need to rather check that the node is new and not only that the related field is empty.

🐛 Bug report
Status

Active

Version

4.1

Component

Code

Created by

🇫🇷France mably

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024