diff --git a/src/Provider/TaxonUrlProvider.php b/src/Provider/TaxonUrlProvider.php index ca79c021..70ca10f3 100644 --- a/src/Provider/TaxonUrlProvider.php +++ b/src/Provider/TaxonUrlProvider.php @@ -94,7 +94,7 @@ public function generate(ChannelInterface $channel): iterable private function getTaxons(): iterable { /** @var TaxonInterface[] $taxons */ - $taxons = $this->taxonRepository->findAll(); + $taxons = $this->taxonRepository->findBy(['enabled' => true]); return $taxons; }