Change the BackLinks
relation in SiteTree
to a polymorphic many_many relation
#2895
Labels
Milestone
BackLinks
relation in SiteTree
to a polymorphic many_many relation
#2895
Description
In
SiteTree
, theBackLinks
relationship should be turned into a polymorphic many_many relationship (using a many_many through relation as documented).SiteTree::BackLinksTracking()
would then be redundant - you'd just get the backlinks directly from the polymorphic relation.See:
silverstripe-cms/code/Model/SiteTree.php
Lines 1961 to 1962 in 58a2d58
Related
The text was updated successfully, but these errors were encountered: