bump inline count, fix tiny bug for server startup
This commit is contained in:
@@ -23,7 +23,7 @@ import comment_client as cc
|
||||
import xml.sax.saxutils as saxutils
|
||||
|
||||
THREADS_PER_PAGE = 20
|
||||
INLINE_THREADS_PER_PAGE = 5
|
||||
INLINE_THREADS_PER_PAGE = 20
|
||||
PAGES_NEARBY_DELTA = 2
|
||||
escapedict = {'"': '"'}
|
||||
log = logging.getLogger("edx.discussions")
|
||||
|
||||
@@ -99,7 +99,7 @@ def filter_unstarted_categories(category_map):
|
||||
|
||||
for child in unfiltered_map["children"]:
|
||||
if child in unfiltered_map["entries"]:
|
||||
if unfiltered_map["entries"][child]["start_date"] < now:
|
||||
if unfiltered_map["entries"][child]["start_date"] <= now:
|
||||
filtered_map["children"].append(child)
|
||||
filtered_map["entries"][child] = {}
|
||||
for key in unfiltered_map["entries"][child]:
|
||||
|
||||
Reference in New Issue
Block a user