You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When an admin previews a course as a learner using the "Preview as Learner" feature on the front end and does not log out of this mode, it artificially inflates the learner count displayed in certain sections of the Sensei LMS admin interface. Specifically:
In Sensei LMS > Learners, the total learner count above the list includes this virtual learner. However, the actual learner list displays the correct number of real learners.
In Sensei LMS > Reports, the course learner count similarly includes this virtual learner.
This discrepancy can lead to confusion, as the total learner count displayed above the list or in reports does not match the actual learners enrolled in the course.
Steps to Reproduce
Log in as an admin.
Navigate to a course on the front-end.
Use the "Preview as Learner" feature.
Do not log out of the "Preview as Learner" mode.
Check the total learner count in Sensei LMS > Learners or Sensei LMS > Reports.
Expected Behavior
The "Preview as Learner" feature should not affect the total learner count displayed in any Report section.
Actual Behavior
The virtual learner from the "Preview as Learner" feature is incorrectly included in the total learner count above the list and in reports, but not in the detailed learner list.
Screenshot / Video
Environment Details
PHP: 8.1.30
Sensei LMS Version: 4.24.5 | Sensei Pro Version: 1.24.2
WordPress version: 6.7.2
The text was updated successfully, but these errors were encountered:
Description
When an admin previews a course as a learner using the "Preview as Learner" feature on the front end and does not log out of this mode, it artificially inflates the learner count displayed in certain sections of the Sensei LMS admin interface. Specifically:
This discrepancy can lead to confusion, as the total learner count displayed above the list or in reports does not match the actual learners enrolled in the course.
Steps to Reproduce
Expected Behavior
The "Preview as Learner" feature should not affect the total learner count displayed in any Report section.
Actual Behavior
The virtual learner from the "Preview as Learner" feature is incorrectly included in the total learner count above the list and in reports, but not in the detailed learner list.
Screenshot / Video
Environment Details
The text was updated successfully, but these errors were encountered: