bump inline count, fix tiny bug for server startup

This commit is contained in:
Arjun Singh
2012-09-14 06:00:01 -07:00
parent 7dbea50d79
commit f656da46ec
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -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]: