From 358728932da346382f2766066000cc5b9a0e044d Mon Sep 17 00:00:00 2001 From: bsimpson63 Date: Tue, 10 Apr 2012 05:56:14 -0700 Subject: [PATCH] Use normalized_hot for MultiReddits. --- r2/r2/controllers/listingcontroller.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/r2/r2/controllers/listingcontroller.py b/r2/r2/controllers/listingcontroller.py index 1a0d8d795..2ae2f08c9 100644 --- a/r2/r2/controllers/listingcontroller.py +++ b/r2/r2/controllers/listingcontroller.py @@ -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)