Commit 264f406
fix(progress): drop bogus tenant_id filter on lesson_completions queries
lesson_completions has no tenant_id column (CLAUDE.md). Filtering by it
returned 0 rows, causing course overview and browse page to always show 0%
progress while the in-lesson sidebar (no such filter) correctly showed 100%.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 4d06d7f commit 264f406
2 files changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
| 91 | + | |
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments