mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 12:05:29 +00:00
Merge pull request #279 from chrometoasters/pulls/fix-108-getDirtyIDs
FIX #108 - Update and simplify getDirtyIDs method
This commit is contained in:
commit
04081b1ce7
@ -615,9 +615,6 @@ abstract class SearchIndex extends ViewableData
|
||||
$ids = array($id);
|
||||
|
||||
foreach ($derivation['chain'] as $step) {
|
||||
// Use TableName for queries
|
||||
$tableName = DataObject::getSchema()->tableName($step['class']);
|
||||
|
||||
if ($step['through'] == 'has_one') {
|
||||
$ids = DataObject::get($step['class'])
|
||||
->filter($step['foreignkey'], $ids)
|
||||
|
Loading…
x
Reference in New Issue
Block a user