mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-17 09:51:45 -05:00
Use normalized_hot for MultiReddits.
This commit is contained in:
@@ -322,6 +322,10 @@ class HotController(FixListing, ListingController):
|
||||
limit=srlimit,
|
||||
over18=over18)
|
||||
return normalized_hot(sr_ids)
|
||||
|
||||
elif isinstance(c.site, MultiReddit):
|
||||
return normalized_hot(c.site.kept_sr_ids)
|
||||
|
||||
#if not using the query_cache we still want cached front pages
|
||||
elif (not g.use_query_cache
|
||||
and not isinstance(c.site, FakeSubreddit)
|
||||
|
||||
Reference in New Issue
Block a user