Decrease page size
Infinite scroll makes this much easier
This commit is contained in:
parent
c09669693f
commit
6a1acd1684
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class SearchPage(RoutablePageMixin, BaseContentPage):
|
||||||
max_count = 1
|
max_count = 1
|
||||||
subpage_types: list = []
|
subpage_types: list = []
|
||||||
parent_page_types = ["home.HomePage"]
|
parent_page_types = ["home.HomePage"]
|
||||||
PAGE_SIZE = 15
|
PAGE_SIZE = 10
|
||||||
|
|
||||||
# Exclude singleton pages from search results
|
# Exclude singleton pages from search results
|
||||||
EXCLUDED_PAGE_TYPES = {page for page in get_page_models() if page.max_count == 1}
|
EXCLUDED_PAGE_TYPES = {page for page in get_page_models() if page.max_count == 1}
|
||||||
|
|
Loading…
Reference in a new issue