gocodebox / gocodebox/lifterlms
"Number of Courses to Display" displayed setting is incorrect after making other changes
- Dominant language
- PHP
- Stars
- 212
- Forks
- 140
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 19
Description
### Reproduction Steps
1. Go to the Site Editor (Appearance → Editor) and open the homepage.
2. Add the Courses block to the homepage.
3. In the block settings, change “Number of Courses to Display” from -1 (all) to 3.
4. Save and exit the editor.
5. Reopen the homepage in the Site Editor , the setting still shows 3 at this point.
6. Make an unrelated change to the page or just re-save the page.
7. Save changes.
8. Recheck the Courses block settings
### Expected Behavior
The value shows `3`
### Actual Behavior
The value reverts from `3` back to `-1`
https://share.zight.com/v1uk4OJE
### Notes
- Even though the setting reverts to -1 in the editor (which should display all courses), the front-end still correctly displays 3 courses per page , the value set before making unrelated changes.
- The issue appears to affect only the Site Editor’s settings panel and not the front-end output.
- No related errors appear in the debug logs.
Contributor guide
Assessment
This issue has not been assessed yet.