Default subreddit post sorting. Closes #166

This commit is contained in:
spikecodes 2021-03-25 21:41:58 -07:00
parent 2533e8cef5
commit 6a7f725c12
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
6 changed files with 16 additions and 20 deletions

View file

@ -36,6 +36,12 @@
<input type="checkbox" name="wide" {% if prefs.wide == "on" %}checked{% endif %}>
</div>
<p>Content</p>
<div id="post_sort">
<label for="post_sort" title="Applies only to subreddit feeds">Default subreddit post sort:</label>
<select name="post_sort">
{% call utils::options(prefs.post_sort, ["hot", "new", "top", "rising", "controversial"], "hot") %}
</select>
</div>
<div id="comment_sort">
<label for="comment_sort">Default comment sort:</label>
<select name="comment_sort">