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
71b70bce
Commit
71b70bce
authored
Nov 08, 2013
by
Adam Palay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makes beta dash count active users in enrollment count [AN-115]
parent
b72604d2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
CHANGELOG.rst
+3
-0
lms/djangoapps/instructor/views/instructor_dashboard.py
+1
-1
No files found.
CHANGELOG.rst
View file @
71b70bce
...
@@ -5,6 +5,9 @@ These are notable changes in edx-platform. This is a rolling list of changes,
...
@@ -5,6 +5,9 @@ These are notable changes in edx-platform. This is a rolling list of changes,
in roughly chronological order, most recent first. Add your entries at or near
in roughly chronological order, most recent first. Add your entries at or near
the top. Include a label indicating the component affected.
the top. Include a label indicating the component affected.
LMS: Beta instructor dashboard will only count actively enrolled students for
course enrollment numbers.
LMS: Users with is_staff=True no longer have the STAFF label appear on
LMS: Users with is_staff=True no longer have the STAFF label appear on
their forum posts.
their forum posts.
...
...
lms/djangoapps/instructor/views/instructor_dashboard.py
View file @
71b70bce
...
@@ -108,7 +108,7 @@ def _section_course_info(course_id, access):
...
@@ -108,7 +108,7 @@ def _section_course_info(course_id, access):
'course_num'
:
course_num
,
'course_num'
:
course_num
,
'course_name'
:
course_name
,
'course_name'
:
course_name
,
'course_display_name'
:
course
.
display_name
,
'course_display_name'
:
course
.
display_name
,
'enrollment_count'
:
CourseEnrollment
.
objects
.
filter
(
course_id
=
course_id
)
.
count
(),
'enrollment_count'
:
CourseEnrollment
.
objects
.
filter
(
course_id
=
course_id
,
is_active
=
1
)
.
count
(),
'has_started'
:
course
.
has_started
(),
'has_started'
:
course
.
has_started
(),
'has_ended'
:
course
.
has_ended
(),
'has_ended'
:
course
.
has_ended
(),
'list_instructor_tasks_url'
:
reverse
(
'list_instructor_tasks'
,
kwargs
=
{
'course_id'
:
course_id
}),
'list_instructor_tasks_url'
:
reverse
(
'list_instructor_tasks'
,
kwargs
=
{
'course_id'
:
course_id
}),
...
...
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