You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GuySartorelli
changed the title
TODO: File::BackLinkTracking() - Implement PolymorphicManyManyList to replace ArrayList
File::BackLinkTracking() - Implement PolymorphicManyManyList to replace ArrayList
Oct 29, 2023
Description
In
File
, theBackLinks
relationship should be turned into a polymorphic many_many relationship (using a many_many through relation as documented).File::BackLinksTracking()
would then be redundant - you'd just get the backlinks directly from the polymorphic relation.See:
silverstripe-assets/src/File.php
Line 1304 in 27000f1
Related
BackLinks
relation inSiteTree
to a polymorphic many_many relation silverstripe-cms#2895The text was updated successfully, but these errors were encountered: