Expected behavior: that the number of viewers cannot exceed the number of enrolled students of the course.
It can be equal or less, because that metric display the number of enrolled users that played at least one vidéo.
Actual Behavior
This bug was observe in the "Course videos overview" of the teacher dashboard.
For some courses in this view of the teacher dashboard, the number of viewers is greater than the number of enrolled students of the course.
Steps to Reproduce
At my level, I am not able to reproduce the problem technically speaking, but in the Potsie interface, i observe this behavior on several courses.
My observations:
I was able to observe this behavior only for courses with multiple sessions, but not for courses for which this is the first session
I assume that there is a cumulative number of viewers between sessions and that there is a problem in the query of this metric "viewers".
Bug Report
Expected behavior/code
Expected behavior: that the number of viewers cannot exceed the number of enrolled students of the course. It can be equal or less, because that metric display the number of enrolled users that played at least one vidéo.
Actual Behavior
This bug was observe in the "Course videos overview" of the teacher dashboard.
For some courses in this view of the teacher dashboard, the number of viewers is greater than the number of enrolled students of the course.
Steps to Reproduce At my level, I am not able to reproduce the problem technically speaking, but in the Potsie interface, i observe this behavior on several courses.
My observations:
I assume that there is a cumulative number of viewers between sessions and that there is a problem in the query of this metric "viewers".
Environment