Removing the gilded sorting option from the submission and search result pages

This commit is contained in:
Michael Lazar
2018-08-04 01:03:16 -04:00
parent 9f12aada91
commit b959b5d4bd
7 changed files with 30 additions and 25 deletions

View File

@@ -17,6 +17,7 @@ class SubmissionController(PageController):
class SubmissionPage(Page):
BANNER = docs.BANNER_SUBMISSION
FOOTER = docs.FOOTER_SUBMISSION
def __init__(self, reddit, term, config, oauth, url=None, submission=None):
@@ -48,10 +49,6 @@ class SubmissionPage(Page):
def sort_content_rising(self):
self.refresh_content(order='rising')
@SubmissionController.register(Command('SORT_GILDED'))
def sort_content_gilded(self):
self.refresh_content(order='gilded')
@SubmissionController.register(Command('SORT_NEW'))
def sort_content_new(self):
self.refresh_content(order='new')