Decrease page size

Infinite scroll makes this much easier
This commit is contained in:
Jake Howard 2022-10-04 21:17:16 +01:00
parent c09669693f
commit 6a1acd1684
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -19,7 +19,7 @@ class SearchPage(RoutablePageMixin, BaseContentPage):
max_count = 1
subpage_types: list = []
parent_page_types = ["home.HomePage"]
PAGE_SIZE = 15
PAGE_SIZE = 10
# Exclude singleton pages from search results
EXCLUDED_PAGE_TYPES = {page for page in get_page_models() if page.max_count == 1}