explicit context passing

This commit is contained in:
justcool393 2023-02-16 23:50:48 -06:00
parent c5cea4f8fa
commit f8ed83a696
8 changed files with 15 additions and 15 deletions

View file

@ -1,5 +1,5 @@
{% extends "default.html" %}
{%- import 'component/sorting_time.html' as sorting_time with context -%}
{%- import 'component/sorting_time.html' as sorting_time -%}
{% block pagetype %}userpage{% endblock %}
@ -593,7 +593,7 @@
</div>
<div class="text-small font-weight-bold ml-3 mr-2"></div>
{{sorting_time.sort_dropdown(false)}}
{{sorting_time.sort_dropdown(sort, t, SORTS_POSTS)}}
</div>
</div>
{% endif %}