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

FIX Handle polymorphic relationships that use Owner instead of Parent #11107

Merged

Conversation

emteknetnz
Copy link
Member

Issue silverstripe/silverstripe-linkfield#9

Duplicate file links were showing on the used on table due to the Link using 'Owner' instead of 'Parent'

While this is by no means a complete solution for the used on table, I don't want to do a full refactor given the context here is only to get the used on table working correctly for LinkField

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GuySartorelli GuySartorelli merged commit 524e27f into silverstripe:5 Jan 9, 2024
15 checks passed
@GuySartorelli GuySartorelli deleted the pulls/5/related-data branch January 9, 2024 22:59
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.

None yet

2 participants