Skip to content

Bugfix/16245 link field normalize element#16255

Merged
brandonkelly merged 6 commits into5.6from
bugfix/16245-link-field-normalize-element
Dec 3, 2024
Merged

Bugfix/16245 link field normalize element#16255
brandonkelly merged 6 commits into5.6from
bugfix/16245-link-field-normalize-element

Conversation

@i-just
Copy link
Copy Markdown
Contributor

@i-just i-just commented Dec 2, 2024

Description

Allow ElementInterface to be passed as a value of the link (for the BaseElementLinkType), which will get normalised to the element’s reference tag format. That way, when an element is fetched for a specific site, the reference tag uses that site’s ID.

Also, if the Link type is BaseElementLinkType and the value is numeric, normalise it to the element’s reference tag format using the current site’s ID.

Related issues

#16245

@i-just i-just requested a review from brandonkelly December 2, 2024 11:21
@brandonkelly brandonkelly changed the base branch from 5.x to 5.6 December 2, 2024 19:19
@brandonkelly brandonkelly merged commit c559f1a into 5.6 Dec 3, 2024
@brandonkelly brandonkelly deleted the bugfix/16245-link-field-normalize-element branch December 3, 2024 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants