diff --git a/src/Controller/Frontend/TaxonomyController.php b/src/Controller/Frontend/TaxonomyController.php index c6d18edb5..7aadbdd42 100644 --- a/src/Controller/Frontend/TaxonomyController.php +++ b/src/Controller/Frontend/TaxonomyController.php @@ -34,6 +34,10 @@ public function listing(ContentRepository $contentRepository, string $taxonomysl $taxonomy = TaxonomyType::factory($taxonomyslug, $this->config->get('taxonomies')); + if ($taxonomy->has('listing_records')) { + $amountPerPage = $taxonomy->get('listing_records'); + } + /** @var Content[] $records */ $records = $contentRepository->findForTaxonomy($page, $taxonomy, $slug, $amountPerPage);