[BUG] Teams page not showing teams in organization #720
Priority
Medium
Type
Feature
1 Participants
Notifications
Total Time Spent: 88 hours 5 minutes
jmiller
88 hours 5 minutes
No due date set.
Dependencies
No dependencies set.
Reference: MokoConsulting/MokoGIT#720
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug Description
In organization page Teams tab is not showing listed teams.
Steps to Reproduce
Expected Behavior
A list of teams
Actual Behavior
No visible errors page shows header and navigation but no listing.
Branch created:
feature/720-bug-teams-page-not-showing-teams-in-orgaFixed in PR #726 (merged to
main).Root cause: the org Teams handler (
routers/web/org/teams.go) populatedctx.Data["OrgListTeams"], but the template (templates/org/team/teams.tmpl) iterates{{range .Teams}}. Nothing readOrgListTeams, so the list was always empty — the page rendered header/nav but no teams and no error. Now writes the canonicalctx.Data["Teams"](the same keyorg/home.gouses).