Use normalized_hot for MultiReddits.

This commit is contained in:
bsimpson63
2012-04-10 05:56:14 -07:00
parent 178da70e43
commit 358728932d

View File

@@ -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)