mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
6ab5969ac1
This fixes a critical bug meaning that using many_many fields in full text searching would have always failed. the $singleton->many_many() lookup returns an array() of many-many components, however the line $class = $manyMany[0] is wrong, as the first value of the array is always the $dataClass (parentClass), not the otherClass (childClass). Changing this to $class = $manyMany[1] fixes this bug. |
||
---|---|---|
.. | ||
processors | ||
FullTextSearch.php | ||
SearchIndex.php | ||
SearchIntrospection.php | ||
SearchQuery.php | ||
SearchUpdater.php | ||
SearchVariant.php | ||
SearchVariantSiteTreeSubsitesPolyhome.php | ||
SearchVariantSubsites.php | ||
SearchVariantVersioned.php |