edx/edx-platform — pull request #4922 by waheedahmed (2014-08-21 12:07:49+00:00)
Title: Fixed analytics counts on instructor dashboard.

LMS-11228

On instructor dashboard analytics the breakdown by gender and education numbers are calculated against the number of users ever enrolled in the course instead of the number of users currently enrolled in the course.
Fixed by adding filter for only active course enrolments. Added couple of unit tests.