Use correct sizes variable

This commit is contained in:
Mark Veidemanis 2022-09-05 07:20:30 +01:00
parent c2d78dc482
commit 0095b787b1
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 2 additions and 2 deletions

View File

@ -108,9 +108,9 @@ def drilldown_search(request, return_context=False, template=None):
else: else:
template_name = template template_name = template
if request.user.is_anonymous: if request.user.is_anonymous:
sizes = settings.OPENSEARCH_MAIN_SIZES_ANON sizes = settings.MANTICORE_MAIN_SIZES_ANON
else: else:
sizes = settings.OPENSEARCH_MAIN_SIZES sizes = settings.MANTICORE_MAIN_SIZES
if request.GET: if request.GET:
if not request.htmx: if not request.htmx: