diff --git a/core/lib/opensearch.py b/core/lib/opensearch.py index 57ec06d..9739f73 100644 --- a/core/lib/opensearch.py +++ b/core/lib/opensearch.py @@ -591,7 +591,7 @@ def query_results( if settings.RANDOMISATION: randomise_list(request.user, results_parsed) - # process_list(reqults) + # process_list(results) # IMPORTANT! - DO NOT PASS query_params to the user! context = { diff --git a/core/templates/ui/drilldown/search_partial.html b/core/templates/ui/drilldown/search_partial.html index 43a8f62..a7da8f5 100644 --- a/core/templates/ui/drilldown/search_partial.html +++ b/core/templates/ui/drilldown/search_partial.html @@ -114,15 +114,15 @@ {% endif %} - {% if params.source == '4ch' %} + {% if params.source == None %} + + {% elif params.source == '4ch' %} {% else %} {% endif %} - {% if params.source == None %} - - {% elif params.source == 'all' %} + {% if params.source == 'all' %} {% else %}