Skip to content

Commit 14ca3f1

Browse files
authored
Smart Search: Don't reindex when changing access or publish state (#33853)
1 parent 4f6b113 commit 14ca3f1

File tree

1 file changed

+0
-9
lines changed
  • administrator/components/com_finder/src/Indexer

1 file changed

+0
-9
lines changed

administrator/components/com_finder/src/Indexer/Adapter.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -414,9 +414,6 @@ protected function categoryAccessChange($row)
414414

415415
// Update the item.
416416
$this->change((int) $item->id, 'access', $temp);
417-
418-
// Reindex the item
419-
$this->reindex($row->id);
420417
}
421418
}
422419

@@ -454,9 +451,6 @@ protected function categoryStateChange($pks, $value)
454451

455452
// Update the item.
456453
$this->change($item->id, 'state', $temp);
457-
458-
// Reindex the item
459-
$this->reindex($item->id);
460454
}
461455
}
462456
}
@@ -846,9 +840,6 @@ protected function itemStateChange($pks, $value)
846840

847841
// Update the item.
848842
$this->change($pk, 'state', $temp);
849-
850-
// Reindex the item
851-
$this->reindex($pk);
852843
}
853844
}
854845

0 commit comments

Comments
 (0)