From c612109da7fb8f62f3cd1d82f77e65b14ca2b9f8 Mon Sep 17 00:00:00 2001 From: ketralnis Date: Thu, 16 Jul 2009 14:01:36 -0700 Subject: [PATCH] Temorarily roll back allow_top change while we migrate --- r2/r2/models/subreddit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/models/subreddit.py b/r2/r2/models/subreddit.py index 357a5f649..1d3c19c88 100644 --- a/r2/r2/models/subreddit.py +++ b/r2/r2/models/subreddit.py @@ -276,7 +276,7 @@ class Subreddit(Thing, Printable): by popularity""" pop_reddits = Subreddit._query(Subreddit.c.type == ('public', 'restricted'), - Subreddit.c.allow_top == True, + # Subreddit.c.allow_top == True, sort=desc('_downs'), limit = limit, data = True,