Commit 108b30ab authored by Jelle Sebreghts's avatar Jelle Sebreghts Committed by Thomas Seidl
Browse files

Issue #3325360 by Jelle_S, drunken monkey: Fixed referenced entity tracking...

Issue #3325360 by Jelle_S, drunken monkey: Fixed referenced entity tracking not respecting the search_api_skip_tracking flag.
parent fd7a6c0c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
Search API 1.x, dev (xxxx-xx-xx):
---------------------------------
- #3325360 by Jelle_S, drunken monkey: Fixed referenced entity tracking not
  respecting the search_api_skip_tracking flag.
- #3324776 by Kingdutch, drunken monkey: Fixed duplicate tables created by DB
  backend.
- #3267092 by drunken monkey: Fixed stemming of content with invalid language
+4 −0
Original line number Diff line number Diff line
@@ -88,6 +88,10 @@ class TrackingHelper implements TrackingHelperInterface {
   * {@inheritdoc}
   */
  public function trackReferencedEntityUpdate(EntityInterface $entity, bool $deleted = FALSE) {
    if (!empty($entity->search_api_skip_tracking)) {
      return;
    }

    /** @var \Drupal\search_api\IndexInterface[] $indexes */
    $indexes = [];
    try {