Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
f656da46
Commit
f656da46
authored
Sep 14, 2012
by
Arjun Singh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bump inline count, fix tiny bug for server startup
parent
7dbea50d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lms/djangoapps/django_comment_client/forum/views.py
+1
-1
lms/djangoapps/django_comment_client/utils.py
+1
-1
No files found.
lms/djangoapps/django_comment_client/forum/views.py
View file @
f656da46
...
...
@@ -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"
)
...
...
lms/djangoapps/django_comment_client/utils.py
View file @
f656da46
...
...
@@ -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
]:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment