Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

Commit

Permalink
changed default sort for 'funny' and 'top' to all time, opensearch
Browse files Browse the repository at this point in the history
  • Loading branch information
libertysoft3 committed Oct 24, 2018
1 parent f493e3a commit 1eeb72a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion r2/r2/lib/menus.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ class ProfileOverviewTimeMenu(TimeMenu):

class ControversyTimeMenu(TimeMenu):
"""time interval for controversial sort. Make default time 'day' rather than 'all'"""
_default = 'day'
_default = 'all'
button_cls = PostButton


Expand Down
16 changes: 8 additions & 8 deletions r2/r2/public/static/opensearch.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>reddit search</ShortName>
<Description>Search for content on reddit!</Description>
<Url type="text/html"
method="get"
template="https://www.reddit.com/search?q={searchTerms}&amp;utm_source=opensearch"/>
</OpenSearchDescription>
<?xml version="1.0"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Saidit search</ShortName>
<Description>Search for content on saidit</Description>
<Url type="text/html"
method="get"
template="https://www.saidit.net/search?q={searchTerms}&amp;utm_source=opensearch"/>
</OpenSearchDescription>

0 comments on commit 1eeb72a

Please sign in to comment.