gocodebox / gocodebox/lifterlms
Display of the lesson weighting incorrect when first loading the settings for a lesson
- Dominant language
- PHP
- Stars
- 212
- Forks
- 140
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 19
Description
### Reproduction Steps
1. Create a Course
2. Add 3 Lesson in the Course Builder
3. Attach a Quiz to only one Lesson
4. Assign Weightage only to the Lesson with the quiz
5. Save, and refresh
6. Click into the Settings of the Lesson with the quiz
7. Hover over the Lesson Weight input
### Expected Behavior
Shows "100%" for weight
### Actual Behavior
Shows 33%. When you change the value it then calculates the percentage correctly, as shown in this video: https://share.cleanshot.com/72pMbvVf

This issue has be recreated:
+ [ ] Locally
+ [ ] On a staging site
+ [ ] On a production website
+ [ ] With only LifterLMS and a default theme
HS-250975
Contributor guide
Assessment
This issue has not been assessed yet.