Persist Sort on Subreddit Pages

This commit is contained in:
spikecodes 2020-12-26 12:43:51 -08:00
parent abfcfdf09e
commit bec5c78709
2 changed files with 20 additions and 20 deletions

View file

@ -42,11 +42,11 @@
<footer>
{% if ends.0 != "" %}
<a href="?before={{ ends.0 }}">PREV</a>
<a href="?sort={{ sort }}&before={{ ends.0 }}">PREV</a>
{% endif %}
{% if ends.1 != "" %}
<a href="?after={{ ends.1 }}">NEXT</a>
<a href="?sort={{ sort }}&after={{ ends.1 }}">NEXT</a>
{% endif %}
</footer>
</div>