mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
Remove limit on /r/all- and add info to gold page
This commit is contained in:
@@ -1042,9 +1042,7 @@ class AllMinus(AllSR):
|
||||
from r2.lib.db.operators import not_
|
||||
q = AllSR.get_links(self, sort, time)
|
||||
if c.user.gold:
|
||||
excluded_ids = self.random_reddits(c.user.name, self.sr_ids,
|
||||
self.gold_limit)
|
||||
q._filter(not_(Link.c.sr_id.in_(excluded_ids)))
|
||||
q._filter(not_(Link.c.sr_id.in_(self.sr_ids)))
|
||||
return q
|
||||
|
||||
class _DefaultSR(FakeSubreddit):
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
${feature_item(static('gold/sample-filterall.png'),
|
||||
_(
|
||||
"# Filter specific subreddits from /r/all.\n"
|
||||
"Are there subreddits you don't want to see? Customize /r/all by removing them."
|
||||
"Are there subreddits you don't want to see? Customize /r/all by removing them with a url like /r/all-operative-badger (up to ~300 removals - limited by maximum url length)."
|
||||
), 'new')}
|
||||
${feature_item(static('gold/sample-morecomments.png'),
|
||||
_(
|
||||
|
||||
Reference in New Issue
Block a user