Added an extra sort option for 'gilded'
Implemented 'gilded' sort both in the banner bar (by pushing the '6' key), and in the prompt (by entering '/subreddit/gilded')
This commit is contained in:
@@ -543,7 +543,7 @@ class SubredditContent(Content):
|
||||
orders = ['relevance', 'top', 'comments', 'new', None]
|
||||
period_allowed = ['top', 'comments']
|
||||
else:
|
||||
orders = ['hot', 'top', 'rising', 'new', 'controversial', None]
|
||||
orders = ['hot', 'top', 'rising', 'new', 'controversial', 'gilded', None]
|
||||
period_allowed = ['top', 'controversial']
|
||||
|
||||
if order not in orders:
|
||||
|
||||
Reference in New Issue
Block a user