Skip to content

Commit

Permalink
re-add list tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dbosen committed Oct 9, 2024
1 parent 88eeea4 commit 98fa67e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ protected function query(
$query->range($offset, $limit);

$storage = $this->entityTypeManager->getStorage($type);
$entityType = $storage->getEntityType();

$cacheContext->addCacheTags($entityType->getListCacheTags());
$cacheContext->addCacheContexts($entityType->getListCacheContexts());
$cacheContext->addCacheableDependency($storage->getEntityType());
return $query;
}
Expand Down

0 comments on commit 98fa67e

Please sign in to comment.