Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/16245 link field normalize element #16255

Merged
merged 6 commits into from
Dec 3, 2024

Conversation

i-just
Copy link
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
3 checks passed
@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