silverstripe-fulltextsearch/code/search
Daniel Pickering 6ab5969ac1 Fix many_many fieldData bug
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.
2014-08-21 16:58:59 +12:00
..
processors API SearchUpdateQueuedJobProcessor now uses batching 2014-08-21 16:19:51 +12:00
FullTextSearch.php BUGFIX: Fixed deprecation errors for ClassInfo::is_subclass_of 2012-07-19 13:41:05 +12:00
SearchIndex.php Fix many_many fieldData bug 2014-08-21 16:58:59 +12:00
SearchIntrospection.php Fixing SS 3.1 support. Changing minimum requirement to 3.1 as a result. 2013-04-03 15:43:08 +13:00
SearchQuery.php Documentation 2012-08-29 21:57:45 +02:00
SearchUpdater.php BUG Fix sold indexing storing against the incorrect class key 2014-05-22 12:18:38 +12:00
SearchVariant.php BUG Dont try and load SearchVariants that dont apply to this env 2012-07-19 13:41:05 +12:00
SearchVariantSiteTreeSubsitesPolyhome.php BUG Dont try and load SearchVariants that dont apply to this env 2012-07-19 13:41:05 +12:00
SearchVariantSubsites.php FIX: will work for postgreSQL 2014-08-19 10:29:01 +12:00
SearchVariantVersioned.php BUG Dont try and load SearchVariants that dont apply to this env 2012-07-19 13:41:05 +12:00