mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 12:05:29 +00:00
9d079724a3
Stopped indexing of classes which were unrelated to overall variants. For example, an index with excludeVariantState(array('SearchVariantVersioned' => 'Stage')) should only set this variant state on types where appliesTo() returns true, namely "Page". Without the $class parameter it also returned on "File" index requests, which then lead to all index requests being discarded later on somewhere in SearchUpdater. Regression introduced in 625d282.