explicit context passing
This commit is contained in:
parent
c5cea4f8fa
commit
f8ed83a696
8 changed files with 15 additions and 15 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue