appsembler / figures

Reporting and data retrieval app for Open edX
MIT License
44 stars 37 forks source link

Learner Details course list displays enrollments from other Sites in multisite mode #392

Closed bryanlandia closed 3 years ago

bryanlandia commented 3 years ago

Expected Behavior

In multisite mode, courses listed in Learner detail view should only include courses within the Site from the request.

Actual Behavior

In multisite mode, courses in Learner Detail view e.g., /figures/user/xx include courses will include courses from other Sites, in the case where the user is enrolled in courses in both the Site requested and another Site.

Steps to Reproduce the Problem

  1. Create a user
  2. Associate the user with more than one organization, and thereby more than one Site
  3. Enroll the user in a course in each of the Sites
  4. Browse to /figures/user/{that user's id}

Specifications