Repository navigation
Commit 7e4b0c3
fix(codevs): show accepted developers on Be a Member
The Be a Member page filtered developers on role_id 10, but the accept flow
sets role_id 4 (Intern). Accepted developers therefore never appeared there,
and whoever still held the legacy role_id 10 showed up instead — the "iba ung
devs rendered" report.
application_status is the reliable signal: the accept flow always sets it to
"passed", while role_id tracks the Intern → Codev → Mentor progression and
changes as a developer advances. Filtering on it matches what /profiles already
does, so both public pages now read from the same source of truth.
The existing post-filter is unchanged and still removes admins, failed and
applying codevs, then narrows to active — so no one who should be hidden
becomes visible.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent aeea675 commit 7e4b0c3
1 file changed
Lines changed: 5 additions & 1 deletion
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
0 commit comments