Default to 4chan

This commit is contained in:
Mark Veidemanis 2022-08-30 10:48:21 +01:00
parent 60f7482d66
commit 18060ddc75
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 5 additions and 5 deletions

View File

@ -591,7 +591,7 @@ def query_results(
if settings.RANDOMISATION: if settings.RANDOMISATION:
randomise_list(request.user, results_parsed) randomise_list(request.user, results_parsed)
# process_list(reqults) # process_list(results)
# IMPORTANT! - DO NOT PASS query_params to the user! # IMPORTANT! - DO NOT PASS query_params to the user!
context = { context = {

View File

@ -114,15 +114,15 @@
<option value="dis">Discord</option> <option value="dis">Discord</option>
{% endif %} {% endif %}
{% if params.source == '4ch' %} {% if params.source == None %}
<option selected value="4ch">All</option>
{% elif params.source == '4ch' %}
<option selected value="4ch">4chan</option> <option selected value="4ch">4chan</option>
{% else %} {% else %}
<option value="4ch">4chan</option> <option value="4ch">4chan</option>
{% endif %} {% endif %}
{% if params.source == None %} {% if params.source == 'all' %}
<option selected value="all">All</option>
{% elif params.source == 'all' %}
<option selected value="all">All</option> <option selected value="all">All</option>
{% else %} {% else %}
<option value="all">All</option> <option value="all">All</option>